write

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch struct {
	// contains filtered or unexported fields
}

func NewBatch

func NewBatch(data string, retryInterval uint) *Batch

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(org string, bucket string, httpService ihttp.Service, options *write.Options) *Service

func (*Service) EncodePoints

func (w *Service) EncodePoints(points ...*write.Point) (string, error)

func (*Service) HandleWrite

func (w *Service) HandleWrite(ctx context.Context, batch *Batch) error

func (*Service) WriteBatch

func (w *Service) WriteBatch(ctx context.Context, batch *Batch) error

func (*Service) WriteUrl

func (w *Service) WriteUrl() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL