Versions in this module Expand all Collapse all v2 v2.1.0 May 2, 2026 Changes in this version + var ErrHardTimeoutCaptureLimitExceeded = errors.New("hard timeout response capture limit exceeded") + type HardTimeout struct + MaxCaptureBytes int64 + Timeout time.Duration + func NewHard(opts Options) (*HardTimeout, error) + func (m *HardTimeout) Handler(next http.Handler) http.Handler + func (m *HardTimeout) Middleware() func(http.Handler) http.Handler type Options + MaxCaptureBytes int64 + type Propagator struct + Timeout time.Duration + func NewPropagator(opts Options) (*Propagator, error) + func (m *Propagator) Handler(next http.Handler) http.Handler + func (m *Propagator) Middleware() func(http.Handler) http.Handler v2.0.1 Feb 2, 2026 Changes in this version + type Middleware struct + Timeout time.Duration + 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 + Timeout time.Duration Other modules containing this package github.com/aatuh/api-toolkit