Documentation ¶
Index ¶
- type BroadcastRequest
- type Deliver
- type EchoMessage
- type Event
- type Event_Deliver
- type Event_Request
- type Event_Type
- type Event_TypeWrapper
- type FinalMessage
- type Message
- type Message_EchoMessage
- type Message_FinalMessage
- type Message_StartMessage
- type Message_Type
- type Message_TypeWrapper
- type StartMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BroadcastRequest ¶
type BroadcastRequest struct {
Data []uint8
}
func BroadcastRequestFromPb ¶
func BroadcastRequestFromPb(pb *bcbpb.BroadcastRequest) *BroadcastRequest
func (*BroadcastRequest) MirReflect ¶
func (*BroadcastRequest) MirReflect() mirreflect.Type
func (*BroadcastRequest) Pb ¶
func (m *BroadcastRequest) Pb() *bcbpb.BroadcastRequest
type Deliver ¶
type Deliver struct {
Data []uint8
}
func DeliverFromPb ¶
func (*Deliver) MirReflect ¶
func (*Deliver) MirReflect() mirreflect.Type
type EchoMessage ¶
type EchoMessage struct {
Signature []uint8
}
func EchoMessageFromPb ¶
func EchoMessageFromPb(pb *bcbpb.EchoMessage) *EchoMessage
func (*EchoMessage) MirReflect ¶
func (*EchoMessage) MirReflect() mirreflect.Type
func (*EchoMessage) Pb ¶
func (m *EchoMessage) Pb() *bcbpb.EchoMessage
type Event ¶
type Event struct {
Type Event_Type
}
func EventFromPb ¶
func (*Event) MirReflect ¶
func (*Event) MirReflect() mirreflect.Type
type Event_Deliver ¶
type Event_Deliver struct {
Deliver *Deliver
}
func (*Event_Deliver) MirReflect ¶
func (*Event_Deliver) MirReflect() mirreflect.Type
func (*Event_Deliver) Pb ¶
func (w *Event_Deliver) Pb() bcbpb.Event_Type
func (*Event_Deliver) Unwrap ¶
func (w *Event_Deliver) Unwrap() *Deliver
type Event_Request ¶
type Event_Request struct {
Request *BroadcastRequest
}
func (*Event_Request) MirReflect ¶
func (*Event_Request) MirReflect() mirreflect.Type
func (*Event_Request) Pb ¶
func (w *Event_Request) Pb() bcbpb.Event_Type
func (*Event_Request) Unwrap ¶
func (w *Event_Request) Unwrap() *BroadcastRequest
type Event_Type ¶
type Event_Type interface { mirreflect.GeneratedType Pb() bcbpb.Event_Type // contains filtered or unexported methods }
func Event_TypeFromPb ¶
func Event_TypeFromPb(pb bcbpb.Event_Type) Event_Type
type Event_TypeWrapper ¶
type Event_TypeWrapper[T any] interface { Event_Type Unwrap() *T }
type FinalMessage ¶
func FinalMessageFromPb ¶
func FinalMessageFromPb(pb *bcbpb.FinalMessage) *FinalMessage
func (*FinalMessage) MirReflect ¶
func (*FinalMessage) MirReflect() mirreflect.Type
func (*FinalMessage) Pb ¶
func (m *FinalMessage) Pb() *bcbpb.FinalMessage
type Message ¶
type Message struct {
Type Message_Type
}
func MessageFromPb ¶
func (*Message) MirReflect ¶
func (*Message) MirReflect() mirreflect.Type
type Message_EchoMessage ¶
type Message_EchoMessage struct {
EchoMessage *EchoMessage
}
func (*Message_EchoMessage) MirReflect ¶
func (*Message_EchoMessage) MirReflect() mirreflect.Type
func (*Message_EchoMessage) Pb ¶
func (w *Message_EchoMessage) Pb() bcbpb.Message_Type
func (*Message_EchoMessage) Unwrap ¶
func (w *Message_EchoMessage) Unwrap() *EchoMessage
type Message_FinalMessage ¶
type Message_FinalMessage struct {
FinalMessage *FinalMessage
}
func (*Message_FinalMessage) MirReflect ¶
func (*Message_FinalMessage) MirReflect() mirreflect.Type
func (*Message_FinalMessage) Pb ¶
func (w *Message_FinalMessage) Pb() bcbpb.Message_Type
func (*Message_FinalMessage) Unwrap ¶
func (w *Message_FinalMessage) Unwrap() *FinalMessage
type Message_StartMessage ¶
type Message_StartMessage struct {
StartMessage *StartMessage
}
func (*Message_StartMessage) MirReflect ¶
func (*Message_StartMessage) MirReflect() mirreflect.Type
func (*Message_StartMessage) Pb ¶
func (w *Message_StartMessage) Pb() bcbpb.Message_Type
func (*Message_StartMessage) Unwrap ¶
func (w *Message_StartMessage) Unwrap() *StartMessage
type Message_Type ¶
type Message_Type interface { mirreflect.GeneratedType Pb() bcbpb.Message_Type // contains filtered or unexported methods }
func Message_TypeFromPb ¶
func Message_TypeFromPb(pb bcbpb.Message_Type) Message_Type
type Message_TypeWrapper ¶
type Message_TypeWrapper[T any] interface { Message_Type Unwrap() *T }
type StartMessage ¶
type StartMessage struct {
Data []uint8
}
func StartMessageFromPb ¶
func StartMessageFromPb(pb *bcbpb.StartMessage) *StartMessage
func (*StartMessage) MirReflect ¶
func (*StartMessage) MirReflect() mirreflect.Type
func (*StartMessage) Pb ¶
func (m *StartMessage) Pb() *bcbpb.StartMessage
Click to show internal directories.
Click to hide internal directories.