39 lines
926 B
Go
39 lines
926 B
Go
|
|
package handlers
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/gin-gonic/gin"
|
||
|
|
)
|
||
|
|
|
||
|
|
type AdminHandler struct {
|
||
|
|
// Will be implemented in later tasks
|
||
|
|
}
|
||
|
|
|
||
|
|
func NewAdminHandler() *AdminHandler {
|
||
|
|
return &AdminHandler{}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (h *AdminHandler) GetDashboard(c *gin.Context) {
|
||
|
|
// Will be implemented in task 11
|
||
|
|
c.JSON(501, gin.H{"message": "Not implemented yet"})
|
||
|
|
}
|
||
|
|
|
||
|
|
func (h *AdminHandler) CreateSchedule(c *gin.Context) {
|
||
|
|
// Will be implemented in task 11
|
||
|
|
c.JSON(501, gin.H{"message": "Not implemented yet"})
|
||
|
|
}
|
||
|
|
|
||
|
|
func (h *AdminHandler) GetUsers(c *gin.Context) {
|
||
|
|
// Will be implemented in task 11
|
||
|
|
c.JSON(501, gin.H{"message": "Not implemented yet"})
|
||
|
|
}
|
||
|
|
|
||
|
|
func (h *AdminHandler) GetBookings(c *gin.Context) {
|
||
|
|
// Will be implemented in task 11
|
||
|
|
c.JSON(501, gin.H{"message": "Not implemented yet"})
|
||
|
|
}
|
||
|
|
|
||
|
|
func (h *AdminHandler) GetFinancialReports(c *gin.Context) {
|
||
|
|
// Will be implemented in task 11
|
||
|
|
c.JSON(501, gin.H{"message": "Not implemented yet"})
|
||
|
|
}
|