Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyResponse ¶
type EmptyResponse struct{}
type ErrorResponse ¶
type ErrorResponse struct { Code string `json:"errcode"` Message string `json:"error"` HttpStatus int `json:"http_status"` }
func BadRequest ¶
func BadRequest(message string) *ErrorResponse
func InternalServerError ¶
func InternalServerError(message string) *ErrorResponse
func MethodNotAllowed ¶
func MethodNotAllowed() *ErrorResponse
func NotFoundError ¶
func NotFoundError() *ErrorResponse
func UnauthorizedError ¶
func UnauthorizedError() *ErrorResponse
Click to show internal directories.
Click to hide internal directories.