doppler_endpoint

package
v74.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2017 License: Apache-2.0, BSD-3-Clause, MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const HttpRequestTimeout = 5 * time.Second

Variables

View Source
var WebsocketKeepAliveDuration = 30 * time.Second

Functions

func ContainerMetricHandlerProvider

func ContainerMetricHandlerProvider(messages <-chan []byte) http.Handler

func DeDupe

func DeDupe(input <-chan []byte) <-chan []byte

func HttpHandlerProvider

func HttpHandlerProvider(messages <-chan []byte) http.Handler

func WebsocketHandlerProvider

func WebsocketHandlerProvider(messages <-chan []byte) http.Handler

Types

type DopplerEndpoint

type DopplerEndpoint struct {
	Endpoint  string
	StreamId  string
	Reconnect bool
	Timeout   time.Duration
	HProvider HandlerProvider
}

func NewDopplerEndpoint

func NewDopplerEndpoint(endpoint string,
	streamId string,
	reconnect bool) DopplerEndpoint

func (*DopplerEndpoint) GetPath

func (endpoint *DopplerEndpoint) GetPath() string

type HandlerProvider

type HandlerProvider func(<-chan []byte) http.Handler

Jump to

Keyboard shortcuts

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