package
1.3.2
Repository: https://github.com/dspasibenko/teleport.git
Documentation: pkg.go.dev

# Functions

ConvertResponse converts http error to internal error type based on HTTP response code and HTTP body contents.
InsecureSetDevmodeHeaders allows cross-origin requests, used in dev mode only.
MakeHandler returns a new httprouter.Handle func from a handler func.
MakeStdHandler returns a new http.Handle func from http.HandlerFunc.
ParseBool will parse boolean variable from url query returns value, ok, error.
ReadJSON reads HTTP json request and unmarshals it into passed interface{} obj.

# Type aliases

HandlerFunc specifies HTTP handler function that returns error.
StdHandlerFunc specifies HTTP handler function that returns error.