Documentation ¶
Index ¶
- Variables
- type Base
- type CommonS2S
- func (*CommonS2S) Descriptor() ([]byte, []int)deprecated
- func (x *CommonS2S) GetBase() *Base
- func (x *CommonS2S) GetKey() uint64
- func (x *CommonS2S) GetMessage() []byte
- func (*CommonS2S) ProtoMessage()
- func (x *CommonS2S) ProtoReflect() protoreflect.Message
- func (x *CommonS2S) Reset()
- func (x *CommonS2S) String() string
- type StarModel
- type StopModel
- type SyncResult
- func (*SyncResult) Descriptor() ([]byte, []int)deprecated
- func (x *SyncResult) GetBase() *Base
- func (x *SyncResult) GetCode() uint32
- func (x *SyncResult) GetMessage() string
- func (x *SyncResult) GetResult() []byte
- func (*SyncResult) ProtoMessage()
- func (x *SyncResult) ProtoReflect() protoreflect.Message
- func (x *SyncResult) Reset()
- func (x *SyncResult) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_s2s_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` EventID uint64 `protobuf:"varint,3,opt,name=eventID,proto3" json:"eventID,omitempty"` // contains filtered or unexported fields }
func (*Base) Descriptor
deprecated
func (*Base) GetEventID ¶
func (*Base) ProtoMessage ¶
func (*Base) ProtoMessage()
func (*Base) ProtoReflect ¶
func (x *Base) ProtoReflect() protoreflect.Message
type CommonS2S ¶
type CommonS2S struct { Base *Base `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Key uint64 `protobuf:"varint,2,opt,name=key,proto3" json:"key,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*CommonS2S) Descriptor
deprecated
func (*CommonS2S) GetMessage ¶
func (*CommonS2S) ProtoMessage ¶
func (*CommonS2S) ProtoMessage()
func (*CommonS2S) ProtoReflect ¶
func (x *CommonS2S) ProtoReflect() protoreflect.Message
type StarModel ¶
type StarModel struct { Base *Base `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*StarModel) Descriptor
deprecated
func (*StarModel) ProtoMessage ¶
func (*StarModel) ProtoMessage()
func (*StarModel) ProtoReflect ¶
func (x *StarModel) ProtoReflect() protoreflect.Message
type StopModel ¶
type StopModel struct { Base *Base `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
func (*StopModel) Descriptor
deprecated
func (*StopModel) ProtoMessage ¶
func (*StopModel) ProtoMessage()
func (*StopModel) ProtoReflect ¶
func (x *StopModel) ProtoReflect() protoreflect.Message
type SyncResult ¶
type SyncResult struct { Base *Base `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []byte `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SyncResult) Descriptor
deprecated
func (*SyncResult) Descriptor() ([]byte, []int)
Deprecated: Use SyncResult.ProtoReflect.Descriptor instead.
func (*SyncResult) GetBase ¶
func (x *SyncResult) GetBase() *Base
func (*SyncResult) GetCode ¶
func (x *SyncResult) GetCode() uint32
func (*SyncResult) GetMessage ¶
func (x *SyncResult) GetMessage() string
func (*SyncResult) GetResult ¶
func (x *SyncResult) GetResult() []byte
func (*SyncResult) ProtoMessage ¶
func (*SyncResult) ProtoMessage()
func (*SyncResult) ProtoReflect ¶
func (x *SyncResult) ProtoReflect() protoreflect.Message
func (*SyncResult) Reset ¶
func (x *SyncResult) Reset()
func (*SyncResult) String ¶
func (x *SyncResult) String() string
Click to show internal directories.
Click to hide internal directories.