transformer

package
v0.0.0-...-d8c2abc Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEventDiscarded = errors.New("event discarded")

Functions

func ToInfluxDBPoint

func ToInfluxDBPoint(event *Envelope) (*influxdb.Point, error)

Types

type Envelope

type Envelope struct {
	Event  *events.Envelope
	Meta   enricher.AppMetadata
	Input  interface{}
	Output interface{}
}

func (*Envelope) AppGuid

func (e *Envelope) AppGuid() string

func (*Envelope) Enrich

func (e *Envelope) Enrich(E enricher.Enricher) error

Jump to

Keyboard shortcuts

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