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)
设置连接属性
Click to show internal directories.
Click to hide internal directories.