Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Default ¶
func Default() (Context, CancelFunc)
func WithCancel ¶ added in v0.3.9
func WithCancel(parent context.Context) (Context, CancelFunc)
func WithSignal ¶
func WithSignal(sig ...os.Signal) (Context, CancelFunc)
Types ¶
type CancelFunc ¶
type CancelFunc context.CancelFunc
Click to show internal directories.
Click to hide internal directories.