Documentation ¶ Index ¶ func ReadCids(ctx context.Context, in io.Reader, out chan<- multihash.Multihash, ...) func ReadManifest(ctx context.Context, in io.Reader, out chan<- multihash.Multihash, ...) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ReadCids ¶ func ReadCids(ctx context.Context, in io.Reader, out chan<- multihash.Multihash, done chan error) ReadCids reads cids from an io.Reader and output their multihashes on a channel. Malformed cids are ignored. ReadCids is meant to be called in a separate goroutine. It exits when EOF on in io.Reader or when context caceled. func ReadManifest ¶ func ReadManifest(ctx context.Context, in io.Reader, out chan<- multihash.Multihash, errOut chan error) ReadManifest reads Cids from a manifest of a CID aggregator and outputs their multihashes on a channel. Types ¶ This section is empty. Source Files ¶ View all Source files cidlist.go manifest.go Click to show internal directories. Click to hide internal directories.