Documentation
¶
Index ¶
Constants ¶
View Source
const PluginName = "scheduler"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Enable bool `mapstructure:"enable"`
SyncInterval time.Duration `mapstructure:"sync"`
}
func (*Config) InitDefault ¶
func (cfg *Config) InitDefault()
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Init ¶
func (p *Plugin) Init(cfg config.Configurer, log *zap.Logger, client redis.UniversalClient, provider asynq.PeriodicTaskConfigProvider) error
Click to show internal directories.
Click to hide internal directories.