Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Invoke( fx.Annotate( NewProvider, fx.OnStart(func(ctx context.Context, p *Provider) error { return p.Start(ctx) }), fx.OnStop(func(ctx context.Context, p *Provider) error { return p.Stop(ctx) }), ), ), )
Module is used on app bootstrap. nolint: gochecknoglobals
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(conf *config.Configuration, processor rule.SetProcessor, logger zerolog.Logger) (*Provider, error)
Click to show internal directories.
Click to hide internal directories.