Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextForChannel ¶
func ContextForChannel(parentCh <-chan struct{}) (context.Context, context.CancelFunc)
ContextForChannel creates a context that is cancelled when parentCh is closed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.