Documentation ¶
Index ¶
Constants ¶
View Source
const ( RequestIDKey = "request-id" StatusCodeKey = "status-code" DBKey = "db" ResponseDataKey = "response-data" ResponseErrorKey = "response-error" ResponseKey = "response" RequestDataKey = "request-data" CaptchaResult = "captcha-result" )
Variables ¶
This section is empty.
Functions ¶
func RequestIdentifier ¶
func ResponseGenerator ¶
func ResponseWriter ¶
Types ¶
type APIResponse ¶
type APIResponse struct { Data interface{} `json:"data,omitempty"` Error string `json:"error,omitempty"` }
Click to show internal directories.
Click to hide internal directories.