pluginsource

package
v0.0.0-...-fa1d311 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnection

func NewConnection(cfg config.Connection, manager itf.EventPlugins) (res itf.EventConnection, err error)

Types

type PluginEventConnection

type PluginEventConnection struct {
	// contains filtered or unexported fields
}

func (*PluginEventConnection) Close

func (c *PluginEventConnection) Close() (err error)

func (*PluginEventConnection) NewCache

func (c *PluginEventConnection) NewCache(cfg config.Cache) (res itf.EventCache, err error)

func (*PluginEventConnection) NewInput

func (c *PluginEventConnection) NewInput(cfg config.Input) (res itf.EventInput, err error)

func (*PluginEventConnection) NewOutput

func (c *PluginEventConnection) NewOutput(cfg config.Output) (res itf.EventOutput, err error)

type PluginEventInput

type PluginEventInput struct {
	// contains filtered or unexported fields
}

func (*PluginEventInput) Close

func (s *PluginEventInput) Close() (err error)

func (*PluginEventInput) Receive

func (s *PluginEventInput) Receive() (res <-chan itf.EventMessage, err error)

type PluginEventMessage

type PluginEventMessage struct {
	// contains filtered or unexported fields
}

func (PluginEventMessage) Ack

func (m PluginEventMessage) Ack() error

func (PluginEventMessage) Data

func (m PluginEventMessage) Data() ([]byte, error)

func (PluginEventMessage) DataString

func (m PluginEventMessage) DataString() (string, error)

func (PluginEventMessage) Metadata

func (m PluginEventMessage) Metadata(key string) (res []string, err error)

func (PluginEventMessage) Nak

func (m PluginEventMessage) Nak() error

func (PluginEventMessage) ReplyTo

func (m PluginEventMessage) ReplyTo() (res string, err error)

func (PluginEventMessage) Time

func (m PluginEventMessage) Time() (time.Time, error)

func (PluginEventMessage) Topic

func (m PluginEventMessage) Topic() (string, error)

type PluginEventOutput

type PluginEventOutput struct {
	// contains filtered or unexported fields
}

func (*PluginEventOutput) Close

func (s *PluginEventOutput) Close() (err error)

func (*PluginEventOutput) Ingest

func (s *PluginEventOutput) Ingest(c <-chan itf.RunnerResult) (err error)

Jump to

Keyboard shortcuts

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