handler

package
v0.0.0-...-1591631 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidParameter = herror.New("missing or invalid parameters in query")
	ErrInternalServer   = herror.New("something went wrong")
	ErrMethodNotAllowed = herror.New("method not allowed")
	ErrResourceNotFound = herror.New("resource not found")
)
View Source
var Logger *log.Logger

Functions

func Error

func Error(w http.ResponseWriter, err *herror.Err)

func Home

func Home(w http.ResponseWriter, r *http.Request)

func Place

func Place(w http.ResponseWriter, r *http.Request)
func Search(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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