package
0.0.0-20220621030607-452a266fee1e
Repository: https://github.com/smartmeshfoundation/spectrum.git
Documentation: pkg.go.dev

# Functions

IsNotFound reports whether the given error means that a key/value pair is missing from a record.
WithEntry wraps any value with a key name.

# Constants

the default identity scheme.
maximum encoded size of a node record in bytes.

# Structs

KeyError is an error related to a key.
Record represents a node record.

# Interfaces

Entry
Entry is implemented by known node record entry types.

# Type aliases

DiscPort is the "discv5" key, which holds the UDP port for discovery v5.
ID is the "id" key, which holds the name of the identity scheme.
IP4 is the "ip4" key, which holds a 4-byte IPv4 address.
IP6 is the "ip6" key, which holds a 16-byte IPv6 address.
Secp256k1 is the "secp256k1" key, which holds a public key.