Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseStream ¶ added in v1.34.0
ParseStream parses Graphite lines from r and calls callback for the parsed rows.
The callback can be called concurrently multiple times for streamed data from r.
callback shouldn't hold rows after returning.
Types ¶
type Rows ¶
type Rows struct { Rows []Row // contains filtered or unexported fields }
Rows contains parsed graphite rows.
func (*Rows) Unmarshal ¶
Unmarshal unmarshals grahite plaintext protocol rows from s.
See https://graphite.readthedocs.io/en/latest/feeding-carbon.html#the-plaintext-protocol
s shouldn't be modified when rs is in use.
Click to show internal directories.
Click to hide internal directories.