Documentation ¶
Index ¶
- type Handler
- func (h *Handler) GetAllInstrument(ctx *gin.Context)
- func (h *Handler) GetAllStudio(ctx *gin.Context)
- func (h *Handler) GetAllVenue(ctx *gin.Context)
- func (h *Handler) GetCity(ctx *gin.Context)
- func (h *Handler) GetCost(ctx *gin.Context)
- func (h *Handler) GetInstrumentByID(ctx *gin.Context)
- func (h *Handler) GetListApplyVenue(ctx *gin.Context)
- func (h *Handler) GetProvince(ctx *gin.Context)
- func (h *Handler) GetStudioByID(ctx *gin.Context)
- func (h *Handler) GetVenueByID(ctx *gin.Context)
- func (h *Handler) Login(ctx *gin.Context)
- func (h *Handler) Profile(ctx *gin.Context)
- func (h *Handler) Register(ctx *gin.Context)
- func (h *Handler) RentInstrument(ctx *gin.Context)
- func (h *Handler) RentStudio(ctx *gin.Context)
- func (h *Handler) RentVenue(ctx *gin.Context)
- func (h *Handler) UpdateUser(ctx *gin.Context)
- func (h *Handler) UploadPhotoProfile(ctx *gin.Context)
- func (h *Handler) VerifyAccount(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { User service.UserServiceImpl Venue service.VenueServiceImpl Instrument service.InstrumentServiceImpl Studio service.StudioServiceImpl }
func NewHandler ¶
func NewHandler(user service.UserServiceImpl, venue service.VenueServiceImpl, instrument service.InstrumentServiceImpl, studio service.StudioServiceImpl) *Handler
func (*Handler) GetAllInstrument ¶
func (*Handler) GetAllStudio ¶
func (*Handler) GetAllVenue ¶
func (*Handler) GetInstrumentByID ¶
func (*Handler) GetListApplyVenue ¶
func (*Handler) GetProvince ¶
func (*Handler) GetStudioByID ¶
func (*Handler) GetVenueByID ¶
func (*Handler) RentInstrument ¶
func (*Handler) RentStudio ¶
func (*Handler) UpdateUser ¶
func (*Handler) UploadPhotoProfile ¶
func (*Handler) VerifyAccount ¶
Click to show internal directories.
Click to hide internal directories.