Versions in this module Expand all Collapse all v0 v0.2.19 Mar 17, 2026 Changes in this version + var Canceled = context.Canceled + var DeadlineExceeded = context.DeadlineExceeded + func AfterFunc(ctx context.Context, f func()) (stop func() bool) + func Background() context.Context + func Cause(c context.Context) error + func FromCreatedBy(ctx context.Context) string + func FromID(ctx context.Context) string + func FromRowLock(ctx context.Context) bool + func FromToken(ctx context.Context) string + func FromTrace(ctx context.Context) string + func FromTrans(ctx context.Context) bool + func NewCreatedBy(ctx context.Context, id string) context.Context + func NewID(ctx context.Context, id string) context.Context + func NewRowLock(ctx context.Context, lock bool) context.Context + func NewToken(ctx context.Context, token string) context.Context + func NewTrace(ctx context.Context, traceID string) context.Context + func NewTrans(ctx context.Context, trans bool) context.Context + func TODO() context.Context + func WithCancel(parent context.Context) (ctx context.Context, cancel context.CancelFunc) + func WithCancelCause(parent context.Context) (ctx context.Context, cancel context.CancelCauseFunc) + func WithDeadline(parent context.Context, d time.Time) (context.Context, context.CancelFunc) + func WithDeadlineCause(parent context.Context, d time.Time, cause error) (context.Context, context.CancelFunc) + func WithTimeout(parent context.Context, timeout time.Duration) (context.Context, context.CancelFunc) + func WithTimeoutCause(parent context.Context, timeout time.Duration, cause error) (context.Context, context.CancelFunc) + func WithValue(parent context.Context, key, val any) context.Context + func WithoutCancel(parent context.Context) context.Context + type CancelCauseFunc = context.CancelCauseFunc + type CancelFunc = context.CancelFunc + type Context = context.Context + func NewContext(ctx context.Context) Context