memory

package module
v2.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 11 Imported by: 1

README

memory

RRv2 memory plugin

Documentation

Index

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

func (*Plugin) Init

func (p *Plugin) Init(log *zap.Logger, cfg config.Configurer) error

func (*Plugin) KvFromConfig

func (p *Plugin) KvFromConfig(key string) (kv.Storage, error)

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) PubSubFromConfig

func (p *Plugin) PubSubFromConfig(key string) (pubsub.PubSub, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL