# Functions
BadRequest convenience method to create http bad request error.
Forbidden convenience method to create http forbidden error.
GetSummary returns the block summary for the given revision, revision required to be a deterministic block other than "next".
GetSummaryAndState returns the block summary and state for the given revision, this function supports the "next" revision.
HandleGone is a handler for deprecated endpoints that returns HTTP 410 Gone.
HTTPError create an error with http status code.
ParseJSON parse a JSON object using strict mode.
ParseRevision parses a query parameter into a block number or block ID.
No description provided by the author
WrapHandlerFunc convert HandlerFunc to http.HandlerFunc.
WriteJSON response an object in JSON encoding.
# Constants
content types.
# Type aliases
HandlerFunc like http.HandlerFunc, bu it returns an error.
M shortcut for type map[string]interface{}.