Documentation ¶
Index ¶
- type AuthHandler
- type BookingHandler
- type EventHandler
- func (h *EventHandler) Create(w http.ResponseWriter, r *http.Request)
- func (h *EventHandler) Delete(w http.ResponseWriter, r *http.Request)
- func (h *EventHandler) Get(w http.ResponseWriter, r *http.Request)
- func (h *EventHandler) List(w http.ResponseWriter, r *http.Request)
- func (h *EventHandler) Update(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(service *service.AuthService) *AuthHandler
func (*AuthHandler) SignIn ¶
func (h *AuthHandler) SignIn(w http.ResponseWriter, r *http.Request)
func (*AuthHandler) SignOut ¶
func (h *AuthHandler) SignOut(w http.ResponseWriter, r *http.Request)
func (*AuthHandler) SignUp ¶
func (h *AuthHandler) SignUp(w http.ResponseWriter, r *http.Request)
type BookingHandler ¶
type BookingHandler struct {
// contains filtered or unexported fields
}
func NewBookingHandler ¶
func NewBookingHandler(service *service.BookingService) *BookingHandler
func (*BookingHandler) Create ¶
func (h *BookingHandler) Create(w http.ResponseWriter, r *http.Request)
func (*BookingHandler) Delete ¶
func (h *BookingHandler) Delete(w http.ResponseWriter, r *http.Request)
func (*BookingHandler) ListByEvent ¶
func (h *BookingHandler) ListByEvent(w http.ResponseWriter, r *http.Request)
func (*BookingHandler) ListByUser ¶
func (h *BookingHandler) ListByUser(w http.ResponseWriter, r *http.Request)
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler(service *service.EventService) *EventHandler
func (*EventHandler) Create ¶
func (h *EventHandler) Create(w http.ResponseWriter, r *http.Request)
func (*EventHandler) Delete ¶
func (h *EventHandler) Delete(w http.ResponseWriter, r *http.Request)
func (*EventHandler) Get ¶
func (h *EventHandler) Get(w http.ResponseWriter, r *http.Request)
func (*EventHandler) List ¶
func (h *EventHandler) List(w http.ResponseWriter, r *http.Request)
func (*EventHandler) Update ¶
func (h *EventHandler) Update(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.