memory

package
v2.3.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 4 Imported by: 0

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) Available added in v2.4.0

func (p *Plugin) Available()

Available interface implementation for the plugin

func (*Plugin) Init

func (p *Plugin) Init(log logger.Logger) error

func (*Plugin) Name

func (p *Plugin) Name() string

Name is endure.Named interface implementation

func (*Plugin) Next

func (p *Plugin) Next() (*message.Message, error)

func (*Plugin) Publish

func (p *Plugin) Publish(messages []byte) error

func (*Plugin) PublishAsync

func (p *Plugin) PublishAsync(messages []byte)

func (*Plugin) Subscribe

func (p *Plugin) Subscribe(topics ...string) error

func (*Plugin) Unsubscribe

func (p *Plugin) Unsubscribe(topics ...string) error

Jump to

Keyboard shortcuts

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