Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CC ¶
type CC struct {
Context context.Context
Config *config.Config
Log *zerolog.Logger
ErrGroup *errgroup.Group
CancelFunc context.CancelFunc
}
CC contains dependencies that are cross cutting and are needed in most of the providers that make up this application.
type ErrGroupAndContext ¶ added in v0.3.3
type ErrGroupAndContext struct {
Ctx context.Context
ErrGroup *errgroup.Group
Cancel context.CancelFunc
}
ErrGroupAndContext wraps a context and an error group.
func NewContext ¶ added in v0.3.3
func NewContext() *ErrGroupAndContext
NewContext creates a context that responds to user signals.
Click to show internal directories.
Click to hide internal directories.