Documentation
¶
Index ¶
Constants ¶
View Source
const BadRequestBody = "bad request body format"
Variables ¶
This section is empty.
Functions ¶
func ApiOutputAbort ¶
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 ApiBody ¶
type ApiBody TypedApiBody[interface{}]
type ResponsePipelines ¶
Click to show internal directories.
Click to hide internal directories.