Versions in this module Expand all Collapse all v0 v0.0.0 Apr 26, 2018 Changes in this version + const ID_SECP256k1_KECCAK + const SizeLimit + func IsNotFound(err error) bool + type DiscPort uint16 + func (v DiscPort) ENRKey() string + type Entry interface + ENRKey func() string + func WithEntry(k string, v interface{}) Entry + type ID string + func (v ID) ENRKey() string + type IP4 net.IP + func (v *IP4) DecodeRLP(s *rlp.Stream) error + func (v IP4) ENRKey() string + func (v IP4) EncodeRLP(w io.Writer) error + type IP6 net.IP + func (v *IP6) DecodeRLP(s *rlp.Stream) error + func (v IP6) ENRKey() string + func (v IP6) EncodeRLP(w io.Writer) error + type KeyError struct + Err error + Key string + func (err *KeyError) Error() string + type Record struct + 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) Sign(privkey *ecdsa.PrivateKey) 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