handler

package
v0.0.0-...-558561e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL