Documentation ¶
Index ¶
- Variables
- type MessageWrapper
- func (*MessageWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWrapper) GetMessageReconcile() *Reconcile
- func (x *MessageWrapper) GetMessageSignedAnnouncement() *SignedAnnouncement
- func (m *MessageWrapper) GetMsg() isMessageWrapper_Msg
- func (*MessageWrapper) ProtoMessage()
- func (x *MessageWrapper) ProtoReflect() protoreflect.Message
- func (x *MessageWrapper) Reset()
- func (x *MessageWrapper) String() string
- type MessageWrapper_MessageReconcile
- type MessageWrapper_MessageSignedAnnouncement
- type Reconcile
- 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 (*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_peer_discovery_announcement_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MessageWrapper ¶
type MessageWrapper struct { // Types that are assignable to Msg: // // *MessageWrapper_MessageSignedAnnouncement // *MessageWrapper_MessageReconcile Msg isMessageWrapper_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*MessageWrapper) Descriptor
deprecated
func (*MessageWrapper) Descriptor() ([]byte, []int)
Deprecated: Use MessageWrapper.ProtoReflect.Descriptor instead.
func (*MessageWrapper) GetMessageReconcile ¶
func (x *MessageWrapper) GetMessageReconcile() *Reconcile
func (*MessageWrapper) GetMessageSignedAnnouncement ¶
func (x *MessageWrapper) GetMessageSignedAnnouncement() *SignedAnnouncement
func (*MessageWrapper) GetMsg ¶
func (m *MessageWrapper) GetMsg() isMessageWrapper_Msg
func (*MessageWrapper) ProtoMessage ¶
func (*MessageWrapper) ProtoMessage()
func (*MessageWrapper) ProtoReflect ¶
func (x *MessageWrapper) ProtoReflect() protoreflect.Message
func (*MessageWrapper) Reset ¶
func (x *MessageWrapper) Reset()
func (*MessageWrapper) String ¶
func (x *MessageWrapper) String() string
type MessageWrapper_MessageReconcile ¶
type MessageWrapper_MessageReconcile struct {
MessageReconcile *Reconcile `protobuf:"bytes,3,opt,name=messageReconcile,proto3,oneof"`
}
type MessageWrapper_MessageSignedAnnouncement ¶
type MessageWrapper_MessageSignedAnnouncement struct {
MessageSignedAnnouncement *SignedAnnouncement `protobuf:"bytes,2,opt,name=messageSignedAnnouncement,proto3,oneof"`
}
type Reconcile ¶
type Reconcile struct { Anns []*SignedAnnouncement `protobuf:"bytes,1,rep,name=anns,proto3" json:"anns,omitempty"` // contains filtered or unexported fields }
func (*Reconcile) Descriptor
deprecated
func (*Reconcile) GetAnns ¶
func (x *Reconcile) GetAnns() []*SignedAnnouncement
func (*Reconcile) ProtoMessage ¶
func (*Reconcile) ProtoMessage()
func (*Reconcile) ProtoReflect ¶
func (x *Reconcile) ProtoReflect() protoreflect.Message
type SignedAnnouncement ¶
type SignedAnnouncement struct { Addrs [][]byte `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` Counter uint64 `protobuf:"varint,2,opt,name=counter,proto3" json:"counter,omitempty"` PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Sig []byte `protobuf:"bytes,4,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) 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.