Versions in this module Expand all Collapse all v0 v0.0.2 Feb 13, 2020 Changes in this version + var ErrAlreadyAlive = errors.New("kontext: already alive") + var ErrAlreadyReady = errors.New("kontext: already ready") + var ErrNotAlive = errors.New("kontext: not alive") + var ErrNotReady = errors.New("kontext: not ready") + func Alive() (Context, CancelFunc, error) + func Ready() (Context, CancelFunc, error) + func SetAlive(parent Context) error + func SetReady(parent Context) error + func WithCancel(parent Context) (Context, CancelFunc) + func WithDeadline(parent Context, d time.Time) (Context, CancelFunc) + func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) + type CancelFunc = context.CancelFunc + type Context = context.Context + func Background() Context + func TODO() Context + func WithValue(parent Context, key, value interface{}) Context