Versions in this module Expand all Collapse all v1 v1.7.1 Jan 29, 2021 v1.7.0 Dec 8, 2020 Changes in this version + var ErrIntOverflowPeerRecord = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthPeerRecord = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupPeerRecord = fmt.Errorf("proto: unexpected end of group") + type PeerRecord struct + Addresses []*PeerRecord_AddressInfo + PeerId []byte + Seq uint64 + func (*PeerRecord) Descriptor() ([]byte, []int) + func (*PeerRecord) ProtoMessage() + func (m *PeerRecord) GetAddresses() []*PeerRecord_AddressInfo + func (m *PeerRecord) GetPeerId() []byte + func (m *PeerRecord) GetSeq() uint64 + func (m *PeerRecord) Marshal() (dAtA []byte, err error) + func (m *PeerRecord) MarshalTo(dAtA []byte) (int, error) + func (m *PeerRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PeerRecord) Reset() + func (m *PeerRecord) Size() (n int) + func (m *PeerRecord) String() string + func (m *PeerRecord) Unmarshal(dAtA []byte) error + func (m *PeerRecord) XXX_DiscardUnknown() + func (m *PeerRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PeerRecord) XXX_Merge(src proto.Message) + func (m *PeerRecord) XXX_Size() int + func (m *PeerRecord) XXX_Unmarshal(b []byte) error + type PeerRecord_AddressInfo struct + Multiaddr []byte + func (*PeerRecord_AddressInfo) Descriptor() ([]byte, []int) + func (*PeerRecord_AddressInfo) ProtoMessage() + func (m *PeerRecord_AddressInfo) GetMultiaddr() []byte + func (m *PeerRecord_AddressInfo) Marshal() (dAtA []byte, err error) + func (m *PeerRecord_AddressInfo) MarshalTo(dAtA []byte) (int, error) + func (m *PeerRecord_AddressInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PeerRecord_AddressInfo) Reset() + func (m *PeerRecord_AddressInfo) Size() (n int) + func (m *PeerRecord_AddressInfo) String() string + func (m *PeerRecord_AddressInfo) Unmarshal(dAtA []byte) error + func (m *PeerRecord_AddressInfo) XXX_DiscardUnknown() + func (m *PeerRecord_AddressInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PeerRecord_AddressInfo) XXX_Merge(src proto.Message) + func (m *PeerRecord_AddressInfo) XXX_Size() int + func (m *PeerRecord_AddressInfo) XXX_Unmarshal(b []byte) error