out

package
v0.0.0-...-23b78c3 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegFlags

func RegFlags()

Types

type BufferedWriter

type BufferedWriter struct {
	FlushInterval   int
	MetricsPerFlush int
	FlushCB         funFlush
	WriteBufferSize int
	// contains filtered or unexported fields
}

func (*BufferedWriter) GetChan

func (b *BufferedWriter) GetChan() chan *schema.MetricData

func (*BufferedWriter) Loop

func (b *BufferedWriter) Loop()

type Carbon

type Carbon struct {
	Id int
	// contains filtered or unexported fields
}

func (*Carbon) Put

func (c *Carbon) Put(metric *schema.MetricData)

func (*Carbon) Start

func (c *Carbon) Start()

type Kafka

type Kafka struct {
	Id int
	// contains filtered or unexported fields
}

func (*Kafka) Loop

func (k *Kafka) Loop() error

func (*Kafka) Put

func (k *Kafka) Put(metric *schema.MetricData)

func (*Kafka) Start

func (k *Kafka) Start()

type Multiplexer

type Multiplexer struct {
	Id int
	// contains filtered or unexported fields
}

func (*Multiplexer) AddOut

func (m *Multiplexer) AddOut(out Out)

func (*Multiplexer) Put

func (m *Multiplexer) Put(metric *schema.MetricData)

func (*Multiplexer) Start

func (m *Multiplexer) Start()

type Out

type Out interface {
	Start()
	Put(*schema.MetricData)
}

func Get

func Get(name string, id int) Out

func GetMulti

func GetMulti(names []string, id int) Out

Jump to

Keyboard shortcuts

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