curatorbase

package
v0.0.0-...-4aa7239 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: OSL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CuratorBase

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

CuratorBase manages communication between a curator and a message bus.

func New

func New(curator curatoriface.Curator, messageBus messagebus.Sender) *CuratorBase

New returns a reference to a new CuratorBase instance.

func (*CuratorBase) Run

func (c *CuratorBase) Run() (err error)

Run calls the underlaying curator's Curate method, and begins sending the resulting data stream to the message bus.

Jump to

Keyboard shortcuts

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