Versions in this module Expand all Collapse all v1 v1.1.0 Oct 14, 2020 v1.0.1 Dec 20, 2019 v1.0.0 Oct 14, 2019 Changes in this version + var ErrMissingContext = errors.New("pooler middleware missing in request context") + func Get(ctx context.Context, key interface{}) interface + func NewMiddleware(key interface{}, factoryMethod func() interface{}) func(h http.Handler) http.Handler