package
0.0.7
Repository: https://github.com/meterio/supernova.git
Documentation: pkg.go.dev

# Functions

BadRequest convenience method to create http bad request error.
Forbidden convenience method to create http forbidden error.
HTTPError create an error with http status code.
ParseJSON parse a JSON object using strict mode.
WrapHandlerFunc convert HandlerFunc to http.HandlerFunc.
WriteJSON reponse a object in JSON enconding.

# Constants

content types.
content types.

# Type aliases

HandlerFunc like http.HandlerFunc, bu it returns an error.
M shortcut for type map[string]interface{}.