Versions in this module Expand all Collapse all v0 v0.8.0 Oct 6, 2019 Changes in this version + const ContextID + func WithCancel(parent context.Context, id string) (context.Context, context.CancelFunc) + func WithDeadline(parent context.Context, id string, deadline time.Time) (context.Context, context.CancelFunc) + func WithTimeout(parent context.Context, id string, timeout time.Duration) (context.Context, context.CancelFunc) + func WithValue(parent context.Context, key interface{}, val interface{}) context.Context + type Context struct + func From(parent context.Context) Context + func New(id ...string) Context + func WithID(parent context.Context, id string) Context + func (c Context) Deadline() (deadline time.Time, ok bool) + func (c Context) Done() <-chan struct{} + func (c Context) Err() error + func (c Context) ID() string + func (c Context) Value(key interface{}) interface{} + type ContextKey string