persister

package
v0.0.0-...-cb39d06 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Persister

type Persister struct {
	ChIn  <-chan spec.MessageSpec
	ChOut chan<- spec.MessageSpec
	// contains filtered or unexported fields
}

Persister persists analyzed messages and pipes the result through

func New

func New(chIn <-chan spec.MessageSpec, chOut chan<- spec.MessageSpec, database db.Database) *Persister

New creates a new Persister

func (*Persister) Watch

func (p *Persister) Watch()

Watch for incoming messages and persist them

Jump to

Keyboard shortcuts

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