Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestError ¶
type RestError struct { Message string `json:"message"` Status int `json:"status"` Error string `json:"error"` }
RestError error message struct
func NewBadRequestError ¶
NewBadRequestError creates a new bad request error
func NewInternalServerError ¶
NewInternalServerError creates internal server error
func NewNotFoundError ¶
NewNotFoundError creates a new bad request error
func NewUnauthorizedError ¶
NewUnauthorizedError create unauthorized error
Click to show internal directories.
Click to hide internal directories.