Versions in this module Expand all Collapse all v4 v4.0.0 Jul 11, 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 github.com/aatuh/api-toolkit/v2 github.com/aatuh/api-toolkit/v3