Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorNoWorkersEnabled = errors.New("no workers enabled")
Functions ¶
This section is empty.
Types ¶
type RegistryParams ¶
type RegistryParams struct { fx.In fx.Shutdowner Workers []Worker `group:"workers"` Logger *zap.SugaredLogger }
type RegistryResult ¶
func NewRegistry ¶
func NewRegistry(p RegistryParams) (RegistryResult, error)
Click to show internal directories.
Click to hide internal directories.