wg-quicker/vendor/github.com/getlantern/context/README.md

590 B

context Travis CI Status Coverage Status

Provides goroutine-based context state inspired by https://github.com/tylerb/gls and https://github.com/jtolds/gls. It uses the same basic hack as tylerb's library, but adds a stack abstraction that allows nested contexts similar to jtolds' library, but using Enter() and Exit() instead of callback functions.