Documentation ¶
Index ¶
- type Configurer
- type Plugin
- func (p *Plugin) ConsumerFromConfig(configKey string, queue priorityqueue.Queue) (jobs.Consumer, error)
- func (p *Plugin) ConsumerFromPipeline(pipe *pipeline.Pipeline, queue priorityqueue.Queue) (jobs.Consumer, error)
- func (p *Plugin) Init(log *zap.Logger, cfg Configurer) error
- func (p *Plugin) Name() string
- func (p *Plugin) Serve() chan error
- func (p *Plugin) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurer ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) ConsumerFromConfig ¶
func (*Plugin) ConsumerFromPipeline ¶
Click to show internal directories.
Click to hide internal directories.