Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { Value(key interface{}) interface{} WithValue(key, val interface{}) Err() error WithError(error) WithCancel() (cancel context.CancelFunc) WithDeadline(deadline time.Time) (cancel context.CancelFunc) WithTimeout(timeout time.Duration) (cancel context.CancelFunc) Deadline() (deadline time.Time, ok bool) Done() <-chan struct{} Copy() Context }
func NewContext ¶
func NewContext() Context
Click to show internal directories.
Click to hide internal directories.