Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ops ¶
type Ops interface { // WithTimeout returns a new context with the given timeout that can be canceled with the returned function. WithTimeout(ctx context.Context, timeout time.Duration) (context.Context, context.CancelFunc) }
Ops are operations to do with a context. They mimic the functions from the context package.
Click to show internal directories.
Click to hide internal directories.