bcbpb

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_bcbpb_bcbpb_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BroadcastRequest

type BroadcastRequest struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BroadcastRequest) Descriptor deprecated

func (*BroadcastRequest) Descriptor() ([]byte, []int)

Deprecated: Use BroadcastRequest.ProtoReflect.Descriptor instead.

func (*BroadcastRequest) GetData

func (x *BroadcastRequest) GetData() []byte

func (*BroadcastRequest) ProtoMessage

func (*BroadcastRequest) ProtoMessage()

func (*BroadcastRequest) ProtoReflect

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

func (*BroadcastRequest) Reset

func (x *BroadcastRequest) Reset()

func (*BroadcastRequest) String

func (x *BroadcastRequest) String() string

type Deliver

type Deliver struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Deliver) Descriptor deprecated

func (*Deliver) Descriptor() ([]byte, []int)

Deprecated: Use Deliver.ProtoReflect.Descriptor instead.

func (*Deliver) GetData

func (x *Deliver) GetData() []byte

func (*Deliver) ProtoMessage

func (*Deliver) ProtoMessage()

func (*Deliver) ProtoReflect

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

func (*Deliver) Reset

func (x *Deliver) Reset()

func (*Deliver) String

func (x *Deliver) String() string

type EchoMessage

type EchoMessage struct {
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*EchoMessage) Descriptor deprecated

func (*EchoMessage) Descriptor() ([]byte, []int)

Deprecated: Use EchoMessage.ProtoReflect.Descriptor instead.

func (*EchoMessage) GetSignature

func (x *EchoMessage) GetSignature() []byte

func (*EchoMessage) ProtoMessage

func (*EchoMessage) ProtoMessage()

func (*EchoMessage) ProtoReflect

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

func (*EchoMessage) Reset

func (x *EchoMessage) Reset()

func (*EchoMessage) String

func (x *EchoMessage) String() string

type Event

type Event struct {

	// Types that are assignable to Type:
	//	*Event_Request
	//	*Event_Deliver
	Type isEvent_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetDeliver

func (x *Event) GetDeliver() *Deliver

func (*Event) GetRequest

func (x *Event) GetRequest() *BroadcastRequest

func (*Event) GetType

func (m *Event) GetType() isEvent_Type

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) ReflectTypeOptions added in v0.2.0

func (*Event) ReflectTypeOptions() []reflect.Type

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_Deliver

type Event_Deliver struct {
	Deliver *Deliver `protobuf:"bytes,2,opt,name=deliver,proto3,oneof"`
}

func (*Event_Deliver) Unwrap

func (w *Event_Deliver) Unwrap() *Deliver

type Event_Request

type Event_Request struct {
	Request *BroadcastRequest `protobuf:"bytes,1,opt,name=request,proto3,oneof"`
}

func (*Event_Request) Unwrap

func (w *Event_Request) Unwrap() *BroadcastRequest

type Event_Type

type Event_Type = isEvent_Type

type Event_TypeWrapper

type Event_TypeWrapper[T any] interface {
	Event_Type
	Unwrap() *T
}

type FinalMessage

type FinalMessage struct {
	Data       []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Signers    []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
	// contains filtered or unexported fields
}

func (*FinalMessage) Descriptor deprecated

func (*FinalMessage) Descriptor() ([]byte, []int)

Deprecated: Use FinalMessage.ProtoReflect.Descriptor instead.

func (*FinalMessage) GetData

func (x *FinalMessage) GetData() []byte

func (*FinalMessage) GetSignatures

func (x *FinalMessage) GetSignatures() [][]byte

func (*FinalMessage) GetSigners

func (x *FinalMessage) GetSigners() []string

func (*FinalMessage) ProtoMessage

func (*FinalMessage) ProtoMessage()

func (*FinalMessage) ProtoReflect

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

func (*FinalMessage) Reset

func (x *FinalMessage) Reset()

func (*FinalMessage) String

func (x *FinalMessage) String() string

type Message

type Message struct {

	// Types that are assignable to Type:
	//	*Message_StartMessage
	//	*Message_EchoMessage
	//	*Message_FinalMessage
	Type isMessage_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

func (*Message) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetEchoMessage

func (x *Message) GetEchoMessage() *EchoMessage

func (*Message) GetFinalMessage

func (x *Message) GetFinalMessage() *FinalMessage

func (*Message) GetStartMessage

func (x *Message) GetStartMessage() *StartMessage

func (*Message) GetType

func (m *Message) GetType() isMessage_Type

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) ReflectTypeOptions added in v0.2.0

func (*Message) ReflectTypeOptions() []reflect.Type

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Message_EchoMessage

type Message_EchoMessage struct {
	EchoMessage *EchoMessage `protobuf:"bytes,2,opt,name=echo_message,json=echoMessage,proto3,oneof"`
}

func (*Message_EchoMessage) Unwrap added in v0.2.0

func (w *Message_EchoMessage) Unwrap() *EchoMessage

type Message_FinalMessage

type Message_FinalMessage struct {
	FinalMessage *FinalMessage `protobuf:"bytes,3,opt,name=final_message,json=finalMessage,proto3,oneof"`
}

func (*Message_FinalMessage) Unwrap added in v0.2.0

func (w *Message_FinalMessage) Unwrap() *FinalMessage

type Message_StartMessage

type Message_StartMessage struct {
	StartMessage *StartMessage `protobuf:"bytes,1,opt,name=start_message,json=startMessage,proto3,oneof"`
}

func (*Message_StartMessage) Unwrap added in v0.2.0

func (w *Message_StartMessage) Unwrap() *StartMessage

type Message_Type added in v0.2.0

type Message_Type = isMessage_Type

type Message_TypeWrapper added in v0.2.0

type Message_TypeWrapper[T any] interface {
	Message_Type
	Unwrap() *T
}

type StartMessage

type StartMessage struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*StartMessage) Descriptor deprecated

func (*StartMessage) Descriptor() ([]byte, []int)

Deprecated: Use StartMessage.ProtoReflect.Descriptor instead.

func (*StartMessage) GetData

func (x *StartMessage) GetData() []byte

func (*StartMessage) ProtoMessage

func (*StartMessage) ProtoMessage()

func (*StartMessage) ProtoReflect

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

func (*StartMessage) Reset

func (x *StartMessage) Reset()

func (*StartMessage) String

func (x *StartMessage) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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