Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocationHandler ¶
func NewLocationHandler(m *mux.Router, u location.Usecase, sanitizer *bluemonday.Policy, logger *zap.SugaredLogger, sessionStore sessions.Store)
Types ¶
type LocationHandler ¶
type LocationHandler struct { LocationUsecase location.Usecase // contains filtered or unexported fields }
func (*LocationHandler) HandleGetCities ¶
func (h *LocationHandler) HandleGetCities(w http.ResponseWriter, r *http.Request)
func (*LocationHandler) HandleGetCountries ¶
func (h *LocationHandler) HandleGetCountries(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.