repository

package
v0.0.0-...-828062d Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2018 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxdbData

type InfluxdbData struct {
	TableName string
	Tags      map[string]string
	Fields    map[string]interface{}
	Time      time.Time
}

func NewInfluxdbData

func NewInfluxdbData() *InfluxdbData

type InfluxdbImpl

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

func (*InfluxdbImpl) InsertData

func (da *InfluxdbImpl) InsertData(data *InfluxdbData) error

insert data into influxdb

func (*InfluxdbImpl) SetConn

func (da *InfluxdbImpl) SetConn(serverIp, dbName, username, password string)

设置连接属性

Jump to

Keyboard shortcuts

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