Documentation ¶
Index ¶
- Variables
- type Event
- type Event_PingTime
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetPing() *Ping
- func (x *Message) GetPong() *Pong
- func (m *Message) GetType() isMessage_Type
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_Ping
- type Message_Pong
- type Ping
- type PingTime
- type Pong
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pingpongpb_pingpongpb_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // Types that are assignable to Type: // *Event_PingTime Type isEvent_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetPingTime ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_PingTime ¶
type Event_PingTime struct {
PingTime *PingTime `protobuf:"bytes,1,opt,name=ping_time,json=pingTime,proto3,oneof"`
}
type Message ¶
type Message struct { // Types that are assignable to Type: // *Message_Ping // *Message_Pong Type isMessage_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Message_Ping ¶
type Message_Ping struct {
Ping *Ping `protobuf:"bytes,1,opt,name=ping,proto3,oneof"`
}
type Message_Pong ¶
type Message_Pong struct {
Pong *Pong `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}
type Ping ¶
type Ping struct { SeqNr uint64 `protobuf:"varint,1,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"` // contains filtered or unexported fields }
func (*Ping) Descriptor
deprecated
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
type PingTime ¶
type PingTime struct {
// contains filtered or unexported fields
}
func (*PingTime) Descriptor
deprecated
func (*PingTime) ProtoMessage ¶
func (*PingTime) ProtoMessage()
func (*PingTime) ProtoReflect ¶
func (x *PingTime) ProtoReflect() protoreflect.Message
type Pong ¶
type Pong struct { SeqNr uint64 `protobuf:"varint,1,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"` // contains filtered or unexported fields }
func (*Pong) Descriptor
deprecated
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
func (*Pong) ProtoReflect ¶
func (x *Pong) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.