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

Top 7.1% on proxy.golang.org
Top 6.1% forks on proxy.golang.org

proxy.golang.org : github.com/vulcanize/go-codec-dagcosmos

Package dagcosmos provides a Go implementation of the IPLD DAG-COSMOS spec (https://github.com/ipld/ipld/tree/master/specs/codecs/dag-cosmos) for go-ipld-prime (https://github.com/ipld/go-ipld-prime/). Use the Decode() and Encode() functions directly, or import one of the packages to have their codec registered into the go-ipld-prime multicodec registry and available from the cidlink.DefaultLinkSystem. Nodes encoded with theses codecs _must_ conform to the DAG-COSMOS spec. Specifically, they should have the non-optional fields shown in the DAG-COSMOS [schemas](https://github.com/ipld/ipld/tree/master/specs/codecs/dag-cosmos): Use the dagcosmos.Type slab to select the appropriate type (e.g. dagcosmos.Type.Header) for strictness guarantees. Basic ipld.Nodes will need to have the appropriate fields (and no others) to successfully encode using this codec.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/vulcanize/go-codec-dagcosmos
License: Apache-2.0,MIT
Latest release: almost 3 years ago
First release: almost 3 years ago
Namespace: github.com/vulcanize
Stars: 7 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 26 days ago