Source File
registry.go
Belonging Package
github.com/multiformats/go-multihash
package multihashimport (mhreg__)// Register is an alias for Register in the core package.//// Consider using the core package instead of this multihash package;// that package does not introduce transitive dependencies except for those you opt into,// and will can result in smaller application builds.func ( uint64, func() hash.Hash) {mhreg.Register(, )}// Register is an alias for Register in the core package.//// Consider using the core package instead of this multihash package;// that package does not introduce transitive dependencies except for those you opt into,// and will can result in smaller application builds.func ( uint64) (hash.Hash, error) {return mhreg.GetHasher()}// DefaultLengths maps a multihash indicator code to the output size for that hash, in units of bytes.var DefaultLengths = mhreg.DefaultLengths
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |