Documentation ¶
Index ¶
- func Background() *context
- type Context
- func WithCancel(parent goctx.Context) (Context, goctx.CancelFunc)
- func WithLoggedValue(parent goctx.Context, key interface{}, val interface{}) Context
- func WithLogging(parent goctx.Context, l *log.Logger) Context
- func WithTimeout(parent goctx.Context, timeout time.Duration) (Context, goctx.CancelFunc)
- func WithValue(parent goctx.Context, key interface{}, val interface{}) Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Background ¶
func Background() *context
Types ¶
type Context ¶
func WithCancel ¶
func WithCancel(parent goctx.Context) (Context, goctx.CancelFunc)
func WithLoggedValue ¶
func WithTimeout ¶
Click to show internal directories.
Click to hide internal directories.