Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
HTTP http error struct
func (*HTTP) BadRequest ¶
BadRequest return http 400 bad request error data
func (*HTTP) InternalServerError ¶
InternalServerError return http 500 internal server error data
func (*HTTP) Unauthorized ¶
Unauthorized return http 401 unauthorized error data
Click to show internal directories.
Click to hide internal directories.