An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

proxy.golang.org : github.com/ipld/go-codec-dagpb : v1.0.0

Package dagpb provides an implementation of the IPLD DAG-PB spec (https://github.com/ipld/specs/blob/master/block-layer/codecs/dag-pb.md) for go-ipld-prime (https://github.com/ipld/go-ipld-prime/). Use Decode() and Encode() directly, or import this package to have this codec registered into the go-ipld-prime multicodec registry and available from the cidlink.DefaultLinkSystem. Nodes encoded with this codec _must_ conform to the DAG-PB spec. Specifically, they should have the non-optional fields shown in the DAG-PB schema: Use dagpb.Type.PBNode and friends directly for strictness guarantees. Basic ipld.Node's will need to have the appropriate fields (and no others) to successfully encode using this codec.

Registry - Documentation - Download - JSON
purl: pkg:golang/github.com/ipld/[email protected]
Published:
Indexed:

    Loading...
    Readme
    Loading...
    Dependencies