forwarder

package
v0.0.0-...-cd47023 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forwarder

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

Forwarder sends the metrics to Efc data center, which is collected by Collector and Statsd.

func NewForwarder

func NewForwarder(conf *config.Config) *Forwarder

NewForwarder creates a new instance of Forwarder.

func (*Forwarder) Run

func (f *Forwarder) Run(shutdown chan struct{}) error

Run runs a http server listening to 10010 as default.

Jump to

Keyboard shortcuts

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