Versions in this module Expand all Collapse all v0 v0.9.0 Sep 26, 2019 Changes in this version + const IDv4 + const SizeLimit + func IsNotFound(err error) bool + func RegisterIdentityScheme(name string, scheme IdentityScheme) + func SignV4(r *Record, privkey *ecdsa.PrivateKey) error + type Entry interface + ENRKey func() string + func WithEntry(k string, v interface{}) Entry + type ID string + func (v ID) ENRKey() string + type IP net.IP + func (v *IP) DecodeRLP(s *rlp.Stream) error + func (v IP) ENRKey() string + func (v IP) EncodeRLP(w io.Writer) error + type IdentityScheme interface + NodeAddr func(r *Record) []byte + Verify func(r *Record, sig []byte) error + func FindIdentityScheme(name string) IdentityScheme + type KeyError struct + Err error + Key string + func (err *KeyError) Error() string + type Record struct + func (r *Record) AppendElements(list []interface{}) []interface{} + func (r *Record) DecodeRLP(s *rlp.Stream) error + func (r *Record) Load(e Entry) error + func (r *Record) NodeAddr() []byte + func (r *Record) Seq() uint64 + func (r *Record) Set(e Entry) + func (r *Record) SetSeq(s uint64) + func (r *Record) SetSig(idscheme string, sig []byte) error + func (r *Record) Signed() bool + func (r Record) EncodeRLP(w io.Writer) error + type Secp256k1 ecdsa.PublicKey + func (v *Secp256k1) DecodeRLP(s *rlp.Stream) error + func (v Secp256k1) ENRKey() string + func (v Secp256k1) EncodeRLP(w io.Writer) error + type TCP uint16 + func (v TCP) ENRKey() string + type UDP uint16 + func (v UDP) ENRKey() string