websocket

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter interface {
	Increment(events.Envelope_EventType)
}

type WebsocketSink

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

func NewWebsocketSink

func NewWebsocketSink(appID string, ws remoteMessageWriter, messageDrainBufferSize uint, writeTimeout time.Duration, dropsondeOrigin string) *WebsocketSink

func (*WebsocketSink) AppID

func (sink *WebsocketSink) AppID() string

func (*WebsocketSink) Identifier

func (sink *WebsocketSink) Identifier() string

func (*WebsocketSink) Run

func (sink *WebsocketSink) Run(inputChan <-chan *events.Envelope)

func (*WebsocketSink) SetCounter

func (sink *WebsocketSink) SetCounter(counter Counter)

func (*WebsocketSink) ShouldReceiveErrors

func (sink *WebsocketSink) ShouldReceiveErrors() bool

Jump to

Keyboard shortcuts

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