Documentation ¶
Overview ¶
Package stream provides utility functions to consume Entry streams.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadEntries ¶
ReadEntries reads a stream of Entry protobufs from r.
Types ¶
type EntryReader ¶ added in v0.0.22
EntryReader functions read a stream of entries, passing each to a handler function.
func NewJSONReader ¶ added in v0.0.22
func NewJSONReader(r io.Reader) EntryReader
NewJSONReader reads a JSON stream of Entry protobufs from r.
func NewReader ¶ added in v0.0.22
func NewReader(r io.Reader) EntryReader
NewReader reads a stream of Entry protobufs from r.
Click to show internal directories.
Click to hide internal directories.