1
0
Fork 0
mirror of https://github.com/Luzifer/gcr-clean.git synced 2024-12-23 11:51:19 +00:00
gcr-clean/vendor/github.com/gorilla/context
Knut Ahlers 04cd59c534
Add vendored code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-04 16:00:25 +01:00
..
.travis.yml Add vendored code 2019-02-04 16:00:25 +01:00
context.go Add vendored code 2019-02-04 16:00:25 +01:00
doc.go Add vendored code 2019-02-04 16:00:25 +01:00
LICENSE Add vendored code 2019-02-04 16:00:25 +01:00
README.md Add vendored code 2019-02-04 16:00:25 +01: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