eventunmarshaller

package
v74.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: Apache-2.0, BSD-3-Clause, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventBatcher

type EventBatcher interface {
	BatchCounter(name string) (chainer metricbatcher.BatchCounterChainer)
	BatchIncrementCounter(name string)
}

type EventUnmarshaller

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

An EventUnmarshaller is an self-instrumenting tool for converting Protocol Buffer-encoded dropsonde messages to Envelope instances.

func New

func New(outputWriter writers.EnvelopeWriter, batcher EventBatcher) *EventUnmarshaller

func (*EventUnmarshaller) UnmarshallMessage

func (u *EventUnmarshaller) UnmarshallMessage(message []byte) (*events.Envelope, error)

func (*EventUnmarshaller) Write

func (u *EventUnmarshaller) Write(message []byte)

Jump to

Keyboard shortcuts

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