Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CMD_name = map[int32]string{ 0: "INIT_CMD", 1: "PING", 2: "PONG", } CMD_value = map[string]int32{ "INIT_CMD": 0, "PING": 1, "PONG": 2, } )
Enum value maps for CMD.
View Source
var File_ping_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type C2S_Ping ¶
type C2S_Ping struct {
Ping string `protobuf:"bytes,1,opt,name=Ping,proto3" json:"Ping,omitempty"`
// contains filtered or unexported fields
}
func (*C2S_Ping) Descriptor
deprecated
func (*C2S_Ping) ProtoMessage ¶
func (*C2S_Ping) ProtoMessage()
func (*C2S_Ping) ProtoReflect ¶
func (x *C2S_Ping) ProtoReflect() protoreflect.Message
type CMD ¶
type CMD int32
func (CMD) Descriptor ¶
func (CMD) Descriptor() protoreflect.EnumDescriptor
func (CMD) EnumDescriptor
deprecated
func (CMD) Number ¶
func (x CMD) Number() protoreflect.EnumNumber
func (CMD) Type ¶
func (CMD) Type() protoreflect.EnumType
type S2C_Pong ¶
type S2C_Pong struct {
Pong string `protobuf:"bytes,1,opt,name=Pong,proto3" json:"Pong,omitempty"`
// contains filtered or unexported fields
}
func (*S2C_Pong) Descriptor
deprecated
func (*S2C_Pong) ProtoMessage ¶
func (*S2C_Pong) ProtoMessage()
func (*S2C_Pong) ProtoReflect ¶
func (x *S2C_Pong) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.