tech(influxdb): refactor and cleanup

This commit is contained in:
bergquist
2016-10-06 14:16:26 +02:00
parent ab8751767c
commit d8aa38fafe
13 changed files with 330 additions and 240 deletions
+5
View File
@@ -52,6 +52,11 @@ type BatchResult struct {
Timings *BatchTiming
}
func (br *BatchResult) WithError(err error) *BatchResult {
br.Error = err
return br
}
type QueryResult struct {
Error error `json:"error"`
RefId string `json:"refId"`