Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteArrayWriter ¶
type ByteArrayWriter interface {
Write(message []byte)
}
type EnvelopeWriter ¶
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 NewUnMarshaller ¶
func NewUnMarshaller(outputWriter EnvelopeWriter) *EventUnmarshaller
func (*EventUnmarshaller) UnmarshallMessage ¶
func (u *EventUnmarshaller) UnmarshallMessage(message []byte) (*events.Envelope, error)
func (*EventUnmarshaller) Write ¶
func (u *EventUnmarshaller) Write(message []byte)
type MetricClient ¶
type MetricClient interface {
NewCounter(name string, opts ...metrics.MetricOption) metrics.Counter
}
type NetworkReader ¶
type NetworkReader struct {
// contains filtered or unexported fields
}
func NewNetworkReader ¶
func NewNetworkReader( address string, writer ByteArrayWriter, m MetricClient, ) (*NetworkReader, error)
func (*NetworkReader) StartReading ¶
func (nr *NetworkReader) StartReading()
func (*NetworkReader) StartWriting ¶
func (nr *NetworkReader) StartWriting()
func (*NetworkReader) Stop ¶
func (nr *NetworkReader) Stop()
Click to show internal directories.
Click to hide internal directories.