Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrGroupAndContext ¶
type ErrGroupAndContext struct { Ctx context.Context ErrGroup *errgroup.Group Cancel context.CancelFunc }
ErrGroupAndContext wraps a context and an error group
func NewContext ¶
func NewContext() *ErrGroupAndContext
NewContext creates a context that responds to user signals
func NewTestContext ¶
func NewTestContext() *ErrGroupAndContext
NewTestContext creates a context that can be used for testing
Click to show internal directories.
Click to hide internal directories.