maubot/vendor/github.com/gorilla/context
Tulir Asokan e26fc65cd0 Add dep
2018-07-06 16:08:50 +03:00
..
.travis.yml Add dep 2018-07-06 16:08:50 +03:00
context.go Add dep 2018-07-06 16:08:50 +03:00
doc.go Add dep 2018-07-06 16:08:50 +03:00
LICENSE Add dep 2018-07-06 16:08:50 +03:00
README.md Add dep 2018-07-06 16:08:50 +03:00

context

Build Status

gorilla/context is a general purpose registry for global request variables.

Note: gorilla/context, having been born well before context.Context existed, does not play well with the shallow copying of the request that http.Request.WithContext (added to net/http Go 1.7 onwards) performs. You should either use just gorilla/context, or moving forward, the new http.Request.Context().

Read the full documentation here: http://www.gorillatoolkit.org/pkg/context