stream

package
v0.0.0-...-74814d5 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func Process

func Process(ev ...*model.Event)

func Stop

func Stop()

Types

type Operator

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

func NewOperator

func NewOperator(fn opFunc) *Operator

func (*Operator) Exec

func (o *Operator) Exec()

func (*Operator) GetOutput

func (o *Operator) GetOutput() <-chan *model.Event

func (*Operator) SetInput

func (o *Operator) SetInput(in <-chan *model.Event)

func (*Operator) Stop

func (o *Operator) Stop()

type Sink

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

func NewSink

func NewSink() *Sink

func (*Sink) Exec

func (s *Sink) Exec() <-chan error

func (*Sink) SetInput

func (s *Sink) SetInput(in <-chan *model.Event)

func (*Sink) Stop

func (s *Sink) Stop()

type Stream

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

func NewStream

func NewStream() *Stream

Jump to

Keyboard shortcuts

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