Versions in this module Expand all Collapse all v2 v2.5.4 Nov 24, 2021 Changes in this version + type Batch struct + Batch string + Evicted bool + Expires time.Time + RetryAttempts uint + RetryDelay uint + func NewBatch(data string, retryDelay uint, expireDelayMs uint) *Batch + type BatchErrorCallback func(batch *Batch, error2 http2.Error) bool + type Service struct + func NewService(org string, bucket string, httpService http2.Service, options *write.Options) *Service + func (w *Service) EncodePoints(points ...*write.Point) (string, error) + func (w *Service) HandleWrite(ctx context.Context, batch *Batch) error + func (w *Service) SetBatchErrorCallback(cb BatchErrorCallback) + func (w *Service) WriteBatch(ctx context.Context, batch *Batch) *http2.Error + func (w *Service) WriteURL() string