Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCancelled ¶
IsCancelled returns true iff the context is cancelled.
func WithQuitCancel ¶
func WithQuitCancel(ctx context.Context, quit <-chan struct{}) (context.Context, context.CancelFunc)
WithQuitCancel creates a cancellable context, which is also closed if the quit chan closes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.