backends

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2015 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNewKafkaBackend added in v0.2.1

func MustNewKafkaBackend(name string, bconf *config.Transport_kafka) newcore.Publication

func NewFileBackend added in v0.2.0

func NewFileBackend(name string, conf *config.Transport_file) (newcore.Publication, error)

func NewInfluxdbBackend added in v0.2.0

func NewInfluxdbBackend(name string, conf *config.Transport_influxdb) (newcore.Publication, error)

func UseConfigCreateBackends added in v0.2.0

func UseConfigCreateBackends(rconf config.RuntimeConfig) ([]newcore.Publication, error)

Types

type InfluxdbClient

type InfluxdbClient interface {
	Version() string
	Ping() (time.Duration, string, error)
	Write(client090.BatchPoints) (*client090.Results, error)
	Query(client090.Query) (*client090.Results, error)
	IsCompatibleVersion(v string) bool
}

func NewInfluxdbClient

func NewInfluxdbClient(conf map[string]interface{}, version string) (InfluxdbClient, error)

type InfluxdbClient_v088

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

func NewInfluxdbClient_v088

func NewInfluxdbClient_v088(conf map[string]interface{}) (*InfluxdbClient_v088, error)

func (*InfluxdbClient_v088) IsCompatibleVersion

func (c *InfluxdbClient_v088) IsCompatibleVersion(v string) bool

func (*InfluxdbClient_v088) Ping

func (*InfluxdbClient_v088) Query

func (*InfluxdbClient_v088) Version

func (c *InfluxdbClient_v088) Version() string

func (*InfluxdbClient_v088) Write

type InfluxdbClient_v090_rc7

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

func NewInfluxdbClient_v090_rc7

func NewInfluxdbClient_v090_rc7(conf map[string]interface{}) (*InfluxdbClient_v090_rc7, error)

func (*InfluxdbClient_v090_rc7) IsCompatibleVersion

func (c *InfluxdbClient_v090_rc7) IsCompatibleVersion(v string) bool

func (*InfluxdbClient_v090_rc7) Ping

func (*InfluxdbClient_v090_rc7) Query

func (*InfluxdbClient_v090_rc7) Version

func (c *InfluxdbClient_v090_rc7) Version() string

func (*InfluxdbClient_v090_rc7) Write

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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