Documentation ¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) ConsumerFromConfig(configKey string, pq priorityqueue.Queue) (jobs.Consumer, error)
- func (p *Plugin) ConsumerFromPipeline(pipeline *pipeline.Pipeline, pq priorityqueue.Queue) (jobs.Consumer, error)
- func (p *Plugin) Init(log *zap.Logger, cfg config.Configurer) error
- func (p *Plugin) KvFromConfig(key string) (kv.Storage, error)
- func (p *Plugin) Name() string
- func (p *Plugin) PubSubFromConfig(key string) (pubsub.PubSub, error)
Constants ¶
View Source
const PluginName string = "memory"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) ConsumerFromConfig ¶
func (p *Plugin) ConsumerFromConfig(configKey string, pq priorityqueue.Queue) (jobs.Consumer, error)
ConsumerFromConfig creates new ephemeral consumer from the configuration
func (*Plugin) ConsumerFromPipeline ¶
func (p *Plugin) ConsumerFromPipeline(pipeline *pipeline.Pipeline, pq priorityqueue.Queue) (jobs.Consumer, error)
ConsumerFromPipeline creates new ephemeral consumer from the provided pipeline
Click to show internal directories.
Click to hide internal directories.