serialization

package
v0.0.0-...-adbe570 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Reconcile.ProtoReflect.Descriptor instead.

func (*Reconcile) GetAnns

func (x *Reconcile) GetAnns() []*SignedAnnouncement

func (*Reconcile) ProtoMessage

func (*Reconcile) ProtoMessage()

func (*Reconcile) ProtoReflect

func (x *Reconcile) ProtoReflect() protoreflect.Message

func (*Reconcile) Reset

func (x *Reconcile) Reset()

func (*Reconcile) String

func (x *Reconcile) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL