Versions in this module Expand all Collapse all v2 v2.0.1 Feb 2, 2026 Changes in this version + func StrictDecoder(r *http.Request) (*json.Decoder, error) + type Middleware struct + RequireJSON bool + func New(opts Options) (*Middleware, error) + func (m *Middleware) Handler(next http.Handler) http.Handler + func (m *Middleware) Middleware() func(http.Handler) http.Handler + type Options struct + RequireJSON bool Other modules containing this package github.com/aatuh/api-toolkit