Documentation
¶
Index ¶
- func Conflict(msg string) error
- func EmptyRequestBody() error
- func Forbidden(action string) error
- func MalformedPayload() error
- func NotFound(resource string) error
- func Unauthorized(msg string) error
- func UnknownParameter(param string) error
- func UnsupportedMediaType() error
- func ValidationError(msg string) error
- func ValidationTypeError(msg string) error
- type Error
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyRequestBody ¶
func EmptyRequestBody() error
func MalformedPayload ¶
func MalformedPayload() error
func Unauthorized ¶
Unauthorized returns a 401 error with the given message.
func UnknownParameter ¶
func UnsupportedMediaType ¶
func UnsupportedMediaType() error
func ValidationError ¶
func ValidationTypeError ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.