package
1.7.4
Repository: https://github.com/vechain/thor.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 response an object in JSON encoding.

# Constants

content types.
content types.

# Type aliases

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