client api for the influxdb service, in go