Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidJSON = errors.New("invalid json") ErrRequestEntityTooLarge = errors.New("request entity too large") )
View Source
var ErrUnsupportedMediaType = errors.New("unsupported media type")
Functions ¶
Types ¶
type HTTPRequestDecoder ¶
type HTTPRequestDecoder struct {
// contains filtered or unexported fields
}
func NewHTTPRequestDecoder ¶
func NewHTTPRequestDecoder(limit int64) HTTPRequestDecoder
func (HTTPRequestDecoder) Decode ¶
func (x HTTPRequestDecoder) Decode(w http.ResponseWriter, r *http.Request, v any) error
Click to show internal directories.
Click to hide internal directories.