Documentation ¶
Index ¶
- type AdminHandler
- type AuthHandler
- func (h *AuthHandler) HealthCheck(ctx *gin.Context)
- func (h *AuthHandler) LoginAdmin(ctx *gin.Context)
- func (h *AuthHandler) LoginOrganizer(ctx *gin.Context)
- func (h *AuthHandler) LoginUser(ctx *gin.Context)
- func (h *AuthHandler) RegisterAdmin(ctx *gin.Context)
- func (h *AuthHandler) RegisterOrganizer(ctx *gin.Context)
- func (h *AuthHandler) RegisterUser(ctx *gin.Context)
- func (h *AuthHandler) VerifyOTP(ctx *gin.Context)
- func (h *AuthHandler) VerifyProfile(ctx *gin.Context)
- type EventHandler
- type PaymentHandler
- type UserHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminHandler ¶
type AdminHandler struct {
// contains filtered or unexported fields
}
func NewAdminHandler ¶
func NewAdminHandler(as service.AdminService) AdminHandler
func (*AdminHandler) GetOrganizer ¶
func (h *AdminHandler) GetOrganizer(ctx *gin.Context)
func (*AdminHandler) PostCategory ¶
func (h *AdminHandler) PostCategory(ctx *gin.Context)
func (*AdminHandler) VerifyOrganizer ¶
func (h *AdminHandler) VerifyOrganizer(ctx *gin.Context)
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(us service.UserService) AuthHandler
func (*AuthHandler) HealthCheck ¶
func (h *AuthHandler) HealthCheck(ctx *gin.Context)
func (*AuthHandler) LoginAdmin ¶
func (h *AuthHandler) LoginAdmin(ctx *gin.Context)
func (*AuthHandler) LoginOrganizer ¶
func (h *AuthHandler) LoginOrganizer(ctx *gin.Context)
func (*AuthHandler) LoginUser ¶
func (h *AuthHandler) LoginUser(ctx *gin.Context)
func (*AuthHandler) RegisterAdmin ¶
func (h *AuthHandler) RegisterAdmin(ctx *gin.Context)
func (*AuthHandler) RegisterOrganizer ¶
func (h *AuthHandler) RegisterOrganizer(ctx *gin.Context)
func (*AuthHandler) RegisterUser ¶
func (h *AuthHandler) RegisterUser(ctx *gin.Context)
func (*AuthHandler) VerifyOTP ¶
func (h *AuthHandler) VerifyOTP(ctx *gin.Context)
func (*AuthHandler) VerifyProfile ¶
func (h *AuthHandler) VerifyProfile(ctx *gin.Context)
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler(es service.EventService, ts service.TicketService) EventHandler
func (*EventHandler) GetEvent ¶
func (h *EventHandler) GetEvent(ctx *gin.Context)
func (*EventHandler) GetEventCategory ¶
func (h *EventHandler) GetEventCategory(ctx *gin.Context)
func (*EventHandler) GetEventDetails ¶
func (h *EventHandler) GetEventDetails(ctx *gin.Context)
func (*EventHandler) GetEventParticipant ¶
func (h *EventHandler) GetEventParticipant(ctx *gin.Context)
func (*EventHandler) PostEvent ¶
func (h *EventHandler) PostEvent(ctx *gin.Context)
type PaymentHandler ¶
type PaymentHandler struct {
// contains filtered or unexported fields
}
func NewPaymentHandler ¶
func NewPaymentHandler(ps service.PaymentService, ts service.TicketService) PaymentHandler
func (*PaymentHandler) Checkout ¶
func (h *PaymentHandler) Checkout(ctx *gin.Context)
func (*PaymentHandler) Verify ¶
func (h *PaymentHandler) Verify(ctx *gin.Context)
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(us service.UserService, ps service.PaymentService, ts service.TicketService, es service.EventService) UserHandler
func (*UserHandler) Current ¶
func (h *UserHandler) Current(ctx *gin.Context)
func (*UserHandler) GetCreatedEvent ¶
func (h *UserHandler) GetCreatedEvent(ctx *gin.Context)
func (*UserHandler) GetPaymentHistory ¶
func (h *UserHandler) GetPaymentHistory(ctx *gin.Context)
func (*UserHandler) GetTicketHisoty ¶
func (h *UserHandler) GetTicketHisoty(ctx *gin.Context)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.