locationhttp

package
v0.0.0-...-945c817 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 9 Imported by: 0

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)

Jump to

Keyboard shortcuts

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