Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Type Event_Type
}
func EventFromPb ¶
func EventFromPb(pb *pingpongpb.Event) *Event
func (*Event) MirReflect ¶
func (*Event) MirReflect() mirreflect.Type
func (*Event) Pb ¶
func (m *Event) Pb() *pingpongpb.Event
type Event_PingTime ¶
type Event_PingTime struct {
PingTime *PingTime
}
func (*Event_PingTime) MirReflect ¶
func (*Event_PingTime) MirReflect() mirreflect.Type
func (*Event_PingTime) Pb ¶
func (w *Event_PingTime) Pb() pingpongpb.Event_Type
func (*Event_PingTime) Unwrap ¶
func (w *Event_PingTime) Unwrap() *PingTime
type Event_Type ¶
type Event_Type interface { mirreflect.GeneratedType Pb() pingpongpb.Event_Type // contains filtered or unexported methods }
func Event_TypeFromPb ¶
func Event_TypeFromPb(pb pingpongpb.Event_Type) Event_Type
type Event_TypeWrapper ¶
type Event_TypeWrapper[T any] interface { Event_Type Unwrap() *T }
type Message ¶
type Message struct {
Type Message_Type
}
func MessageFromPb ¶
func MessageFromPb(pb *pingpongpb.Message) *Message
func (*Message) MirReflect ¶
func (*Message) MirReflect() mirreflect.Type
func (*Message) Pb ¶
func (m *Message) Pb() *pingpongpb.Message
type Message_Ping ¶
type Message_Ping struct {
Ping *Ping
}
func (*Message_Ping) MirReflect ¶
func (*Message_Ping) MirReflect() mirreflect.Type
func (*Message_Ping) Pb ¶
func (w *Message_Ping) Pb() pingpongpb.Message_Type
func (*Message_Ping) Unwrap ¶
func (w *Message_Ping) Unwrap() *Ping
type Message_Pong ¶
type Message_Pong struct {
Pong *Pong
}
func (*Message_Pong) MirReflect ¶
func (*Message_Pong) MirReflect() mirreflect.Type
func (*Message_Pong) Pb ¶
func (w *Message_Pong) Pb() pingpongpb.Message_Type
func (*Message_Pong) Unwrap ¶
func (w *Message_Pong) Unwrap() *Pong
type Message_Type ¶
type Message_Type interface { mirreflect.GeneratedType Pb() pingpongpb.Message_Type // contains filtered or unexported methods }
func Message_TypeFromPb ¶
func Message_TypeFromPb(pb pingpongpb.Message_Type) Message_Type
type Message_TypeWrapper ¶
type Message_TypeWrapper[T any] interface { Message_Type Unwrap() *T }
type Ping ¶
type Ping struct {
SeqNr uint64
}
func PingFromPb ¶
func PingFromPb(pb *pingpongpb.Ping) *Ping
func (*Ping) MirReflect ¶
func (*Ping) MirReflect() mirreflect.Type
func (*Ping) Pb ¶
func (m *Ping) Pb() *pingpongpb.Ping
type PingTime ¶
type PingTime struct{}
func PingTimeFromPb ¶
func PingTimeFromPb(pb *pingpongpb.PingTime) *PingTime
func (*PingTime) MirReflect ¶
func (*PingTime) MirReflect() mirreflect.Type
func (*PingTime) Pb ¶
func (m *PingTime) Pb() *pingpongpb.PingTime
type Pong ¶
type Pong struct {
SeqNr uint64
}
func PongFromPb ¶
func PongFromPb(pb *pingpongpb.Pong) *Pong
func (*Pong) MirReflect ¶
func (*Pong) MirReflect() mirreflect.Type
func (*Pong) Pb ¶
func (m *Pong) Pb() *pingpongpb.Pong
Click to show internal directories.
Click to hide internal directories.