Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MethodNotAllowedProblem ¶
type MethodNotAllowedProblem struct { problems.BasicProblem Method string `json:"requestedMethod,omitempty"` Allowed []string `json:"allowedMethods,omitempty"` }
func MethodNotAllowed ¶
func MethodNotAllowed(requested string, allowed ...string) MethodNotAllowedProblem
type NotFoundProblem ¶
type NotFoundProblem struct {
problems.BasicProblem
}
func NotFound ¶
func NotFound() NotFoundProblem
Click to show internal directories.
Click to hide internal directories.