tangs b030ce89ca openbilibili 5 years ago
..
BUILD b030ce89ca openbilibili 5 years ago
LICENSE b030ce89ca openbilibili 5 years ago
README.md b030ce89ca openbilibili 5 years ago
context.go b030ce89ca openbilibili 5 years ago
doc.go b030ce89ca openbilibili 5 years ago

README.md

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: https://www.gorillatoolkit.org/pkg/context