Versions in this module Expand all Collapse all v0 v0.2.0 Oct 27, 2015 Changes in this version + type BatchPoints interface + AddPoint func(p *Point) + Database func() string + Points func() []*Point + Precision func() string + RetentionPolicy func() string + SetDatabase func(s string) + SetPrecision func(s string) error + SetRetentionPolicy func(s string) + SetWriteConsistency func(s string) + WriteConsistency func() string + func NewBatchPoints(c BatchPointsConfig) (BatchPoints, error) + type BatchPointsConfig struct + Database string + Precision string + RetentionPolicy string + WriteConsistency string + type Client interface + Query func(q Query) (*Response, error) + Write func(bp BatchPoints) error + func NewClient(conf Config) Client + type Config struct + InsecureSkipVerify bool + Password string + Timeout time.Duration + URL *url.URL + UserAgent string + Username string + type Point struct + func NewPoint(name string, tags map[string]string, fields map[string]interface{}, ...) *Point + func (p *Point) Fields() map[string]interface{} + func (p *Point) Name() string + func (p *Point) PrecisionString(precison string) string + func (p *Point) String() string + func (p *Point) Tags() map[string]string + func (p *Point) Time() time.Time + func (p *Point) UnixNano() int64 + type Query struct + Command string + Database string + Precision string + type Response struct + Err error + Results []Result + func (r *Response) Error() error + type Result struct + Err error + Series []models.Row