Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GConfig config
GConfig global configuration
View Source
var Log *logging.Logger
Log the app logger
Functions ¶
func ReadJSONRequest ¶
func ReadJSONRequest(payload io.ReadCloser, decodedPayload interface{}) bool
ReadJSONRequest Helper to decode a json payload
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { // in: body Body struct { // required: true Message string `json:"message,required"` } }
ErrorResponse standard error response swagger:response errorResponse
Click to show internal directories.
Click to hide internal directories.