2016-12-04 20:18:13 +00:00
|
|
|
package client
|
|
|
|
|
|
|
|
import "io"
|
|
|
|
|
|
|
|
type Client interface {
|
|
|
|
Query(command string) error
|
2017-10-05 23:14:21 +00:00
|
|
|
WriteStream(b io.Reader) error
|
2016-12-04 20:18:13 +00:00
|
|
|
Close() error
|
|
|
|
}
|
|
|
|
|
|
|
|
type WriteParams struct {
|
|
|
|
Database string
|
|
|
|
RetentionPolicy string
|
|
|
|
Precision string
|
|
|
|
Consistency string
|
|
|
|
}
|