package
0.0.0-20190407150747-8b9b72514244
Repository: https://github.com/ipsn/go-ipfs.git
Documentation: pkg.go.dev
# README
go-libp2p-record
signed records for use with routing systems
Documenation
See https://godoc.org/github.com/libp2p/go-libp2p-record.
Contribute
Feel free to join in. All welcome. Open an issue!
This repository falls under the IPFS Code of Conduct.
Want to hack on IPFS?
License
MIT
# Packages
No description provided by the author
# Functions
MakePutRecord creates a dht record for the given key/value pair.
SplitKey takes a key in the form `/$namespace/$path` and splits it into `$namespace` and `$path`.
# Variables
ErrInvalidRecordType is returned if a DHTRecord keys prefix is not found in the Validator map of the DHT.
# Structs
PublicKeyValidator is a Validator that validates public keys.
# Interfaces
Validator is an interface that should be implemented by record validators.
# Type aliases
NamespacedValidator is a validator that delegates to sub-validators by namespace.