# Functions
ErrHandler is an ErrorHandler that creates a log in the provided context's svc1log logger when an error is received.
No description provided by the author
NewJSONHandler returns a http.Handler which will convert a returned error into a corresponding status code, and handle the error according to the provided ErrorHandler.
ParseBearerTokenHeader parses a bearer token value out of the Authorization header.
No description provided by the author
StatusCodeMapper maps a provided error to an HTTP status code.
WriteJSONResponse marshals the provided object to JSON using a JSON encoder with SetEscapeHTML(false) and writes the resulting JSON as a JSON response to the provided http.ResponseWriter with the provided status code.
# Interfaces
No description provided by the author