mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-27 03:43:25 +00:00
- The tools directory ideally should not contain source code - Removes double vendoring of packagages - Makes it easer to hook the build into the top-level Makefile Eventually, the plugin should be moved to the infrakit repo. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
context
gorilla/context is a general purpose registry for global request variables.
Note: gorilla/context, having been born well before
context.Contextexisted, does not play well with the shallow copying of the request thathttp.Request.WithContext(added to net/http Go 1.7 onwards) performs. You should either use just gorilla/context, or moving forward, the newhttp.Request.Context().
Read the full documentation here: http://www.gorillatoolkit.org/pkg/context
