akvlad / influxdb-iox-client-go

InfluxDB/IOx Client for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InfluxDB IOx Client for Go

Package influxdbiox is the official Go client for InfluxDB/IOx.

InfluxDB/IOx uses Arrow Flight gRPC for queries. This client makes it easy to use that interface.

Take a look at the godoc for usage.

SQL

Package ioxsql contains an implementation of the database/sql driver interface.

Tests

This project does not run tests as part of CI. Most tests depend on a running instance of InfluxDB/IOx, and each creates its own database. To start an in-memory instance, from the InfluxDB/IOx repository root:

$ cargo build
$ ./target/debug/influxdb_iox run all-in-one

Then run the tests like any golang test:

$ go test ./...

About

InfluxDB/IOx Client for Go

License:MIT License


Languages

Language:Go 96.2%Language:Shell 3.8%