backend-service/internal/handlers/booking.go

39 lines
950 B
Go
Raw Normal View History

package handlers
import (
"github.com/gin-gonic/gin"
)
type BookingHandler struct {
// Will be implemented in later tasks
}
func NewBookingHandler() *BookingHandler {
return &BookingHandler{}
}
func (h *BookingHandler) GetAvailableSlots(c *gin.Context) {
// Will be implemented in task 9
c.JSON(501, gin.H{"message": "Not implemented yet"})
}
func (h *BookingHandler) CreateBooking(c *gin.Context) {
// Will be implemented in task 9
c.JSON(501, gin.H{"message": "Not implemented yet"})
}
func (h *BookingHandler) GetUserBookings(c *gin.Context) {
// Will be implemented in task 9
c.JSON(501, gin.H{"message": "Not implemented yet"})
}
func (h *BookingHandler) CancelBooking(c *gin.Context) {
// Will be implemented in task 9
c.JSON(501, gin.H{"message": "Not implemented yet"})
}
func (h *BookingHandler) RescheduleBooking(c *gin.Context) {
// Will be implemented in task 9
c.JSON(501, gin.H{"message": "Not implemented yet"})
}