Documentation
¶
Index ¶
- func FilterTimetableByID(data []entity.Timetable, id uuid.UUID) (*entity.Timetable, error)
- type EventHandler
- func (h *EventHandler) CreateEvent(c echo.Context) error
- func (h *EventHandler) DeleteEvent(c echo.Context) error
- func (h *EventHandler) EditEvent(c echo.Context) error
- func (h *EventHandler) GetAllEvent(c echo.Context) error
- func (h *EventHandler) GetDetailEvent(c echo.Context) error
- func (h *EventHandler) GetDetailEventWithTicket(c echo.Context) error
- type OneTimePasswordHandler
- type TicketHandler
- type TokenHandler
- type TransactionHandler
- type UserHandler
- func (h *UserHandler) Login(c echo.Context) error
- func (h *UserHandler) Notifications(c echo.Context) error
- func (h *UserHandler) Profile(c echo.Context) error
- func (h *UserHandler) ReadNotification(c echo.Context) error
- func (h *UserHandler) Registration(c echo.Context) error
- func (h *UserHandler) ResetPassword(c echo.Context) error
- func (h *UserHandler) TransactionHistory(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler(eventService service.EventService) EventHandler
func (*EventHandler) CreateEvent ¶
func (h *EventHandler) CreateEvent(c echo.Context) error
func (*EventHandler) DeleteEvent ¶
func (h *EventHandler) DeleteEvent(c echo.Context) error
func (*EventHandler) GetAllEvent ¶
func (h *EventHandler) GetAllEvent(c echo.Context) error
func (*EventHandler) GetDetailEvent ¶
func (h *EventHandler) GetDetailEvent(c echo.Context) error
func (*EventHandler) GetDetailEventWithTicket ¶
func (h *EventHandler) GetDetailEventWithTicket(c echo.Context) error
type OneTimePasswordHandler ¶
type OneTimePasswordHandler struct {
// contains filtered or unexported fields
}
func NewOneTimePasswordHandler ¶
func NewOneTimePasswordHandler(otpService service.OneTimePasswordService) OneTimePasswordHandler
type TicketHandler ¶
type TicketHandler struct {
// contains filtered or unexported fields
}
func NewTicketHandler ¶
func NewTicketHandler(ticketService service.TicketService, transactionService service.TransactionService) TicketHandler
type TokenHandler ¶
type TokenHandler struct {
// contains filtered or unexported fields
}
func NewTokenHandler ¶
func NewTokenHandler(tokenService service.TokenService) TokenHandler
func (*TokenHandler) GenerateForForgotPassword ¶
func (h *TokenHandler) GenerateForForgotPassword(c echo.Context) error
func (*TokenHandler) GenerateForRegister ¶
func (h *TokenHandler) GenerateForRegister(c echo.Context) error
type TransactionHandler ¶
type TransactionHandler struct {
// contains filtered or unexported fields
}
func NewTransactionHandler ¶
func NewTransactionHandler(eventService service.EventService, timetableService service.TimetableService, transactionService service.TransactionService, ticketService service.TicketService, notifService service.NotificationService, paymentGateway service.PaymenService) TransactionHandler
func (*TransactionHandler) CreateTransaction ¶
func (h *TransactionHandler) CreateTransaction(c echo.Context) error
func (*TransactionHandler) WebHookTransaction ¶
func (h *TransactionHandler) WebHookTransaction(c echo.Context) error
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(userService service.UserService, transactionService service.TransactionService, notifService service.NotificationService) UserHandler
func (*UserHandler) Notifications ¶
func (h *UserHandler) Notifications(c echo.Context) error
func (*UserHandler) ReadNotification ¶
func (h *UserHandler) ReadNotification(c echo.Context) error
func (*UserHandler) Registration ¶
func (h *UserHandler) Registration(c echo.Context) error
func (*UserHandler) ResetPassword ¶
func (h *UserHandler) ResetPassword(c echo.Context) error
func (*UserHandler) TransactionHistory ¶
func (h *UserHandler) TransactionHistory(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.