Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Default ¶
func Default() (Context, CancelFunc)
func WithCancel ¶
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.