Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseStream ¶
ParseStream parses /api/v1/import lines from req and calls callback for the parsed rows.
The callback can be called concurrently multiple times for streamed data from reader.
callback shouldn't hold rows after returning.
Types ¶
type Rows ¶
type Rows struct { Rows []Row // contains filtered or unexported fields }
Rows contains parsed rows from `/api/v1/import` request.
func (*Rows) Unmarshal ¶
Unmarshal unmarshals influx line protocol rows from s.
See https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_tutorial/
s shouldn't be modified when rs is in use.
Click to show internal directories.
Click to hide internal directories.