common

package
v0.0.0-...-35869c8 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2016 License: Unlicense Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteFloat64

func WriteFloat64(buf []byte, key []byte, val float64, now int64) []byte

func WriteInt64

func WriteInt64(buf []byte, key []byte, val, now int64) []byte

Types

type Metric

type Metric struct {
	Bucket   string
	Value    float64
	Modifier string
	Sampling float32
}

type Output

type Output struct {
	Metrics       chan []*Metric
	MetricAmounts chan []*Metric
	Valid_lines   *topic.Topic
	Invalid_lines *topic.Topic
}

func NullOutput

func NullOutput() *Output

Jump to

Keyboard shortcuts

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