Documentation
¶
Index ¶
- Variables
- func Background() context.Context
- func TODO() context.Context
- func WithCancel(parent context.Context) (ctx context.Context, cancel context.CancelFunc)
- func WithDeadline(parent context.Context, d time.Time) (context.Context, context.CancelFunc)
- func WithTimeout(parent context.Context, timeout time.Duration) (context.Context, context.CancelFunc)
- func WithValue(parent context.Context, key, val interface{}) context.Context
- type Context
Constants ¶
This section is empty.
Variables ¶
View Source
var Canceled = context.Canceled
View Source
var DeadlineExceeded error = context.DeadlineExceeded
Functions ¶
func Background ¶
func WithCancel ¶
func WithDeadline ¶
func WithTimeout ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.