Documentation ¶
Index ¶
- Variables
- type SignedAnnouncement
- func (*SignedAnnouncement) Descriptor() ([]byte, []int)deprecated
- func (x *SignedAnnouncement) GetAddrs() [][]byte
- func (x *SignedAnnouncement) GetCounter() uint64
- func (x *SignedAnnouncement) GetPublicKey() []byte
- func (x *SignedAnnouncement) GetSig() []byte
- func (x *SignedAnnouncement) GetUserPrefix() uint32
- func (*SignedAnnouncement) ProtoMessage()
- func (x *SignedAnnouncement) ProtoReflect() protoreflect.Message
- func (x *SignedAnnouncement) Reset()
- func (x *SignedAnnouncement) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_serialization_cl_dht_addr_announcement_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SignedAnnouncement ¶
type SignedAnnouncement struct { Addrs [][]byte `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` UserPrefix uint32 `protobuf:"varint,2,opt,name=userPrefix,proto3" json:"userPrefix,omitempty"` Counter uint64 `protobuf:"varint,3,opt,name=counter,proto3" json:"counter,omitempty"` PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Sig []byte `protobuf:"bytes,5,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
func (*SignedAnnouncement) Descriptor
deprecated
func (*SignedAnnouncement) Descriptor() ([]byte, []int)
Deprecated: Use SignedAnnouncement.ProtoReflect.Descriptor instead.
func (*SignedAnnouncement) GetAddrs ¶
func (x *SignedAnnouncement) GetAddrs() [][]byte
func (*SignedAnnouncement) GetCounter ¶
func (x *SignedAnnouncement) GetCounter() uint64
func (*SignedAnnouncement) GetPublicKey ¶
func (x *SignedAnnouncement) GetPublicKey() []byte
func (*SignedAnnouncement) GetSig ¶
func (x *SignedAnnouncement) GetSig() []byte
func (*SignedAnnouncement) GetUserPrefix ¶
func (x *SignedAnnouncement) GetUserPrefix() uint32
func (*SignedAnnouncement) ProtoMessage ¶
func (*SignedAnnouncement) ProtoMessage()
func (*SignedAnnouncement) ProtoReflect ¶
func (x *SignedAnnouncement) ProtoReflect() protoreflect.Message
func (*SignedAnnouncement) Reset ¶
func (x *SignedAnnouncement) Reset()
func (*SignedAnnouncement) String ¶
func (x *SignedAnnouncement) String() string
Click to show internal directories.
Click to hide internal directories.