Documentation ¶
Index ¶
Constants ¶
View Source
const AuthRequiredErrorMessage = "authentication required"
this is the message to show when authentication info is required but was not provided in the request this is NOT the message for when auth info is provided but is not correct
Variables ¶
This section is empty.
Functions ¶
func AddJSONContentType ¶ added in v0.13.3
func AddJSONContentType(w http.ResponseWriter)
AddJSONContentType prepares HTTP response writer for JSON content-type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.