Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseStream ¶
ParseStream parses /api/v1/import/native lines from req and calls callback for parsed blocks.
The callback can be called multiple times for streamed data from req.
callback shouldn't hold block after returning. callback can be called in parallel from multiple concurrent goroutines.
Types ¶
Click to show internal directories.
Click to hide internal directories.