package pb

Import Path
	github.com/libp2p/go-libp2p/core/peer/pb (on go.dev)

Dependency Relation
	imports 5 packages, and imported by one package

Involved Source Files peer_record.pb.go
Package-Level Type Names (total 2)
/* sort by: | */
PeerRecord messages contain information that is useful to share with other peers. Currently, a PeerRecord contains the public listen addresses for a peer, but this is expected to expand to include other information in the future. PeerRecords are designed to be serialized to bytes and placed inside of SignedEnvelopes before sharing with other peers. See https://github.com/libp2p/go-libp2p/blob/master/core/record/pb/envelope.proto for the SignedEnvelope definition. addresses is a list of public listen addresses for the peer. peer_id contains a libp2p peer id in its binary representation. seq contains a monotonically-increasing sequence counter to order PeerRecords in time. Deprecated: Use PeerRecord.ProtoReflect.Descriptor instead. (*PeerRecord) GetAddresses() []*PeerRecord_AddressInfo (*PeerRecord) GetPeerId() []byte (*PeerRecord) GetSeq() uint64 (*PeerRecord) ProtoMessage() (*PeerRecord) ProtoReflect() protoreflect.Message (*PeerRecord) Reset() (*PeerRecord) String() string *PeerRecord : github.com/gogo/protobuf/proto.Message *PeerRecord : expvar.Var *PeerRecord : fmt.Stringer *PeerRecord : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *PeerRecord : google.golang.org/protobuf/runtime/protoiface.MessageV1 func github.com/libp2p/go-libp2p/core/peer.(*PeerRecord).ToProtobuf() (*PeerRecord, error) func github.com/libp2p/go-libp2p/core/peer.PeerRecordFromProtobuf(msg *PeerRecord) (*peer.PeerRecord, error)
AddressInfo is a wrapper around a binary multiaddr. It is defined as a separate message to allow us to add per-address metadata in the future. Multiaddr []byte Deprecated: Use PeerRecord_AddressInfo.ProtoReflect.Descriptor instead. (*PeerRecord_AddressInfo) GetMultiaddr() []byte (*PeerRecord_AddressInfo) ProtoMessage() (*PeerRecord_AddressInfo) ProtoReflect() protoreflect.Message (*PeerRecord_AddressInfo) Reset() (*PeerRecord_AddressInfo) String() string *PeerRecord_AddressInfo : github.com/gogo/protobuf/proto.Message *PeerRecord_AddressInfo : expvar.Var *PeerRecord_AddressInfo : fmt.Stringer *PeerRecord_AddressInfo : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *PeerRecord_AddressInfo : google.golang.org/protobuf/runtime/protoiface.MessageV1 func (*PeerRecord).GetAddresses() []*PeerRecord_AddressInfo
Package-Level Variables (only one)