influxdb/write.go

12 lines
199 B
Go

package influxdb
import (
"context"
"io"
)
// WriteService writes data read from the reader.
type WriteService interface {
WriteTo(ctx context.Context, filter BucketFilter, r io.Reader) error
}