ndjson

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPeerRecordsIter

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

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