influxdb

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInfluxdb

func NewInfluxdb(config *store.Config) store.Store

Types

type Influxdb

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

func (*Influxdb) Close

func (e *Influxdb) Close()

func (*Influxdb) Connect

func (e *Influxdb) Connect(conf ...*store.Config)

func (*Influxdb) GetInstance

func (e *Influxdb) GetInstance(conf ...*store.Config) influxdb2.Client

type Query added in v0.2.3

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

func NewQuery added in v0.2.3

func NewQuery(bucket string, loc ...string) *Query

func (*Query) Build added in v0.2.3

func (e *Query) Build() string

func (*Query) Order added in v0.2.3

func (e *Query) Order(order string) *Query

func (*Query) Page added in v0.2.3

func (e *Query) Page(page, limit uint32) *Query

func (*Query) Pivot added in v0.2.3

func (e *Query) Pivot(tz string) *Query

func (*Query) Table added in v0.2.3

func (e *Query) Table(m string) *Query

func (*Query) Tz added in v0.2.3

func (e *Query) Tz(tz map[string]int64) *Query

func (*Query) Where added in v0.2.3

func (e *Query) Where(field, value string) *Query

Jump to

Keyboard shortcuts

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