Skip to content

trihatmaja/influxdbc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InfluxDB Client for Golang

Golang bindings for the InfluxDB http API

import "github.com/rossdylan/influxdbc"
func main() {
    database := influxdbc.NewInfluxDB("localhost:8086", "testdb", "username", "password")
    series := influxdbc.NewSeries("Name", "Col1", "Col2")
    series.AddPoint("Col1 data", "Col2 data")
    err := database.WriteSeries([]influxdbc.Series{*series})
}

About

InfluxDB client for golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%