collector

package
v0.2.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2016 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printable

type Printable interface {
	PrintForInfluxDB(version string) string
	PrintForElasticsearch(version, index string) string
}

Printable this interface should be used to push data into the queue.

type SimplePrintable

type SimplePrintable struct {
	Text     string
	Datatype data.Datatype
}

SimplePrintable can be used to send strings as printable

func (SimplePrintable) PrintForElasticsearch

func (p SimplePrintable) PrintForElasticsearch(version, index string) string

PrintForElasticsearch generates an String for Elasticsearch

func (SimplePrintable) PrintForInfluxDB

func (p SimplePrintable) PrintForInfluxDB(version string) string

PrintForInfluxDB generates an String for InfluxDB

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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