ndjson

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0, MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPeerRecordsIter added in v0.14.0

func NewPeerRecordsIter(r io.Reader) iter.Iter[iter.Result[*types.PeerRecord]]

NewPeerRecordsIter returns an iterator that reads types.PeerRecord from the given io.Reader. Records with a different schema are safely ignored. If you want to read all records, use NewRecordsIter instead.

func NewRecordsIter added in v0.13.0

func NewRecordsIter(r io.Reader) iter.Iter[iter.Result[types.Record]]

NewRecordsIter returns an iterator that reads types.Record from the given io.Reader.

Types

This section is empty.

Jump to

Keyboard shortcuts

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