Documentation ¶
Index ¶
Constants ¶
View Source
const BadRequestBody = "bad request body format"
Variables ¶
This section is empty.
Functions ¶
func ApiOutputAbort ¶ added in v0.14.0
ApiOutputAbort writes the HTTP response code header and saves the error internally, but doesn't push it to the response
func ApiOutputError ¶
ApiOutputError writes a JSON error message to the HTTP response body
func ApiOutputSuccess ¶
ApiOutputSuccess writes a JSON success message to the HTTP response body
Types ¶
type ResponsePipelines ¶ added in v0.13.0
Click to show internal directories.
Click to hide internal directories.