problems

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL