Documentation ¶
Index ¶
- Variables
- type CoreBuiltinPacketID
- type SSPacketAuth
- type SSPacketAuthAck
- type SSPacketKeepAlive
- type SSPacketSlices
- type TransactCtrlCmd
- type TransactParam
- func (m *TransactParam) GetAreaID() int32
- func (m *TransactParam) GetLevelNo() int32
- func (m *TransactParam) GetOwnerID() int32
- func (m *TransactParam) GetOwnerType() int32
- func (m *TransactParam) GetSkeletonID() int32
- func (m *TransactParam) GetTimeOut() int64
- func (m *TransactParam) GetTransCommitType() int32
- func (m *TransactParam) GetTransNodeID() int64
- func (m *TransactParam) GetTransType() int32
- func (*TransactParam) ProtoMessage()
- func (m *TransactParam) Reset()
- func (m *TransactParam) String() string
- type TransactResult
- type TransactStart
Constants ¶
This section is empty.
Variables ¶
View Source
var CoreBuiltinPacketID_name = map[int32]string{
-1000: "PACKET_SS_TX_START",
-1001: "PACKET_SS_TX_CMD",
-1002: "PACKET_SS_TX_RESULT",
-1003: "PACKET_SS_SLICES",
-1004: "PACKET_SS_AUTH",
-1005: "PACKET_SS_KEEPALIVE",
-1006: "PACKET_SS_AUTH_ACK",
}
View Source
var CoreBuiltinPacketID_value = map[string]int32{
"PACKET_SS_TX_START": -1000,
"PACKET_SS_TX_CMD": -1001,
"PACKET_SS_TX_RESULT": -1002,
"PACKET_SS_SLICES": -1003,
"PACKET_SS_AUTH": -1004,
"PACKET_SS_KEEPALIVE": -1005,
"PACKET_SS_AUTH_ACK": -1006,
}
Functions ¶
This section is empty.
Types ¶
type CoreBuiltinPacketID ¶
type CoreBuiltinPacketID int32
const ( CoreBuiltinPacketID_PACKET_SS_TX_START CoreBuiltinPacketID = -1000 CoreBuiltinPacketID_PACKET_SS_TX_CMD CoreBuiltinPacketID = -1001 CoreBuiltinPacketID_PACKET_SS_TX_RESULT CoreBuiltinPacketID = -1002 CoreBuiltinPacketID_PACKET_SS_SLICES CoreBuiltinPacketID = -1003 CoreBuiltinPacketID_PACKET_SS_AUTH CoreBuiltinPacketID = -1004 CoreBuiltinPacketID_PACKET_SS_KEEPALIVE CoreBuiltinPacketID = -1005 CoreBuiltinPacketID_PACKET_SS_AUTH_ACK CoreBuiltinPacketID = -1006 )
func (CoreBuiltinPacketID) Enum ¶
func (x CoreBuiltinPacketID) Enum() *CoreBuiltinPacketID
func (CoreBuiltinPacketID) MarshalJSON ¶
func (x CoreBuiltinPacketID) MarshalJSON() ([]byte, error)
func (CoreBuiltinPacketID) String ¶
func (x CoreBuiltinPacketID) String() string
func (*CoreBuiltinPacketID) UnmarshalJSON ¶
func (x *CoreBuiltinPacketID) UnmarshalJSON(data []byte) error
type SSPacketAuth ¶
type SSPacketAuth struct { AuthKey *string `protobuf:"bytes,1,req" json:"AuthKey,omitempty"` Timestamp *int64 `protobuf:"varint,2,req" json:"Timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SSPacketAuth) GetAuthKey ¶
func (m *SSPacketAuth) GetAuthKey() string
func (*SSPacketAuth) GetTimestamp ¶
func (m *SSPacketAuth) GetTimestamp() int64
func (*SSPacketAuth) ProtoMessage ¶
func (*SSPacketAuth) ProtoMessage()
func (*SSPacketAuth) Reset ¶
func (m *SSPacketAuth) Reset()
func (*SSPacketAuth) String ¶
func (m *SSPacketAuth) String() string
type SSPacketAuthAck ¶
type SSPacketAuthAck struct { Msg *string `protobuf:"bytes,1,opt" json:"Msg,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SSPacketAuthAck) GetMsg ¶
func (m *SSPacketAuthAck) GetMsg() string
func (*SSPacketAuthAck) ProtoMessage ¶
func (*SSPacketAuthAck) ProtoMessage()
func (*SSPacketAuthAck) Reset ¶
func (m *SSPacketAuthAck) Reset()
func (*SSPacketAuthAck) String ¶
func (m *SSPacketAuthAck) String() string
type SSPacketKeepAlive ¶
type SSPacketKeepAlive struct { Flag *int32 `protobuf:"varint,1,req" json:"Flag,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SSPacketKeepAlive) GetFlag ¶
func (m *SSPacketKeepAlive) GetFlag() int32
func (*SSPacketKeepAlive) ProtoMessage ¶
func (*SSPacketKeepAlive) ProtoMessage()
func (*SSPacketKeepAlive) Reset ¶
func (m *SSPacketKeepAlive) Reset()
func (*SSPacketKeepAlive) String ¶
func (m *SSPacketKeepAlive) String() string
type SSPacketSlices ¶
type SSPacketSlices struct { SeqNo *int32 `protobuf:"varint,1,req" json:"SeqNo,omitempty"` TotalSize *int32 `protobuf:"varint,2,req" json:"TotalSize,omitempty"` Offset *int32 `protobuf:"varint,3,req" json:"Offset,omitempty"` PacketData []byte `protobuf:"bytes,4,req" json:"PacketData,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SSPacketSlices) GetOffset ¶
func (m *SSPacketSlices) GetOffset() int32
func (*SSPacketSlices) GetPacketData ¶
func (m *SSPacketSlices) GetPacketData() []byte
func (*SSPacketSlices) GetSeqNo ¶
func (m *SSPacketSlices) GetSeqNo() int32
func (*SSPacketSlices) GetTotalSize ¶
func (m *SSPacketSlices) GetTotalSize() int32
func (*SSPacketSlices) ProtoMessage ¶
func (*SSPacketSlices) ProtoMessage()
func (*SSPacketSlices) Reset ¶
func (m *SSPacketSlices) Reset()
func (*SSPacketSlices) String ¶
func (m *SSPacketSlices) String() string
type TransactCtrlCmd ¶
type TransactCtrlCmd struct { TId *int64 `protobuf:"varint,1,req" json:"TId,omitempty"` Cmd *int32 `protobuf:"varint,2,req" json:"Cmd,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*TransactCtrlCmd) GetCmd ¶
func (m *TransactCtrlCmd) GetCmd() int32
func (*TransactCtrlCmd) GetTId ¶
func (m *TransactCtrlCmd) GetTId() int64
func (*TransactCtrlCmd) ProtoMessage ¶
func (*TransactCtrlCmd) ProtoMessage()
func (*TransactCtrlCmd) Reset ¶
func (m *TransactCtrlCmd) Reset()
func (*TransactCtrlCmd) String ¶
func (m *TransactCtrlCmd) String() string
type TransactParam ¶
type TransactParam struct { TransNodeID *int64 `protobuf:"varint,1,req" json:"TransNodeID,omitempty"` TransType *int32 `protobuf:"varint,2,req" json:"TransType,omitempty"` OwnerType *int32 `protobuf:"varint,3,req" json:"OwnerType,omitempty"` OwnerID *int32 `protobuf:"varint,4,req" json:"OwnerID,omitempty"` SkeletonID *int32 `protobuf:"varint,5,req" json:"SkeletonID,omitempty"` LevelNo *int32 `protobuf:"varint,6,req" json:"LevelNo,omitempty"` AreaID *int32 `protobuf:"varint,7,req" json:"AreaID,omitempty"` TimeOut *int64 `protobuf:"varint,8,req" json:"TimeOut,omitempty"` TransCommitType *int32 `protobuf:"varint,9,req" json:"TransCommitType,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*TransactParam) GetAreaID ¶
func (m *TransactParam) GetAreaID() int32
func (*TransactParam) GetLevelNo ¶
func (m *TransactParam) GetLevelNo() int32
func (*TransactParam) GetOwnerID ¶
func (m *TransactParam) GetOwnerID() int32
func (*TransactParam) GetOwnerType ¶
func (m *TransactParam) GetOwnerType() int32
func (*TransactParam) GetSkeletonID ¶
func (m *TransactParam) GetSkeletonID() int32
func (*TransactParam) GetTimeOut ¶
func (m *TransactParam) GetTimeOut() int64
func (*TransactParam) GetTransCommitType ¶
func (m *TransactParam) GetTransCommitType() int32
func (*TransactParam) GetTransNodeID ¶
func (m *TransactParam) GetTransNodeID() int64
func (*TransactParam) GetTransType ¶
func (m *TransactParam) GetTransType() int32
func (*TransactParam) ProtoMessage ¶
func (*TransactParam) ProtoMessage()
func (*TransactParam) Reset ¶
func (m *TransactParam) Reset()
func (*TransactParam) String ¶
func (m *TransactParam) String() string
type TransactResult ¶
type TransactResult struct { MyTId *int64 `protobuf:"varint,1,req" json:"MyTId,omitempty"` ChildTId *int64 `protobuf:"varint,2,req" json:"ChildTId,omitempty"` RetCode *int32 `protobuf:"varint,3,req" json:"RetCode,omitempty"` CustomData []byte `protobuf:"bytes,4,opt" json:"CustomData,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*TransactResult) GetChildTId ¶
func (m *TransactResult) GetChildTId() int64
func (*TransactResult) GetCustomData ¶
func (m *TransactResult) GetCustomData() []byte
func (*TransactResult) GetMyTId ¶
func (m *TransactResult) GetMyTId() int64
func (*TransactResult) GetRetCode ¶
func (m *TransactResult) GetRetCode() int32
func (*TransactResult) ProtoMessage ¶
func (*TransactResult) ProtoMessage()
func (*TransactResult) Reset ¶
func (m *TransactResult) Reset()
func (*TransactResult) String ¶
func (m *TransactResult) String() string
type TransactStart ¶
type TransactStart struct { MyTNP *TransactParam `protobuf:"bytes,1,req" json:"MyTNP,omitempty"` ParenTNP *TransactParam `protobuf:"bytes,2,req" json:"ParenTNP,omitempty"` CustomData []byte `protobuf:"bytes,3,opt" json:"CustomData,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*TransactStart) GetCustomData ¶
func (m *TransactStart) GetCustomData() []byte
func (*TransactStart) GetMyTNP ¶
func (m *TransactStart) GetMyTNP() *TransactParam
func (*TransactStart) GetParenTNP ¶
func (m *TransactStart) GetParenTNP() *TransactParam
func (*TransactStart) ProtoMessage ¶
func (*TransactStart) ProtoMessage()
func (*TransactStart) Reset ¶
func (m *TransactStart) Reset()
func (*TransactStart) String ¶
func (m *TransactStart) String() string
Click to show internal directories.
Click to hide internal directories.