Documentation
¶
Overview ¶
Package external is a generated protocol buffer package.
It is generated from these files:
access.proto base.proto error.proto gateway.proto
It has these top-level messages:
ReqLogin ResLogin ReqLogout ResLogout ReqPing ReqSendP2PMsg ResSendP2PMsg ResNotify ReqSyncMsg OffsetMsg ResSyncMsg ReqAcceptP2PMsgAck ResAcceptP2PMsgAck ReqSendGroupMsg ResSendGroupMsg Base Error ReqAccessServer ResSelectAccessServerForClient
Index ¶
- Constants
- type Base
- type Error
- type OffsetMsg
- func (*OffsetMsg) Descriptor() ([]byte, []int)
- func (m *OffsetMsg) GetGroupID() int64
- func (m *OffsetMsg) GetMsg() string
- func (m *OffsetMsg) GetMsgID() string
- func (m *OffsetMsg) GetMsgType() string
- func (m *OffsetMsg) GetSourceUID() int64
- func (m *OffsetMsg) GetTargetUID() int64
- func (*OffsetMsg) ProtoMessage()
- func (m *OffsetMsg) Reset()
- func (m *OffsetMsg) String() string
- type ReqAcceptP2PMsgAck
- func (*ReqAcceptP2PMsgAck) Descriptor() ([]byte, []int)
- func (m *ReqAcceptP2PMsgAck) GetCmd() uint32
- func (m *ReqAcceptP2PMsgAck) GetCmdStr() string
- func (m *ReqAcceptP2PMsgAck) GetMsgID() string
- func (m *ReqAcceptP2PMsgAck) GetSourceUID() int64
- func (m *ReqAcceptP2PMsgAck) GetTargetUID() int64
- func (*ReqAcceptP2PMsgAck) ProtoMessage()
- func (m *ReqAcceptP2PMsgAck) Reset()
- func (m *ReqAcceptP2PMsgAck) String() string
- type ReqAccessServer
- type ReqLogin
- type ReqLogout
- type ReqPing
- type ReqSendGroupMsg
- func (*ReqSendGroupMsg) Descriptor() ([]byte, []int)
- func (m *ReqSendGroupMsg) GetCmd() uint32
- func (m *ReqSendGroupMsg) GetCmdStr() string
- func (m *ReqSendGroupMsg) GetGroupID() int64
- func (m *ReqSendGroupMsg) GetMsg() string
- func (m *ReqSendGroupMsg) GetMsgID() string
- func (m *ReqSendGroupMsg) GetSourceUID() int64
- func (*ReqSendGroupMsg) ProtoMessage()
- func (m *ReqSendGroupMsg) Reset()
- func (m *ReqSendGroupMsg) String() string
- type ReqSendP2PMsg
- func (*ReqSendP2PMsg) Descriptor() ([]byte, []int)
- func (m *ReqSendP2PMsg) GetCmd() uint32
- func (m *ReqSendP2PMsg) GetCmdStr() string
- func (m *ReqSendP2PMsg) GetMsg() string
- func (m *ReqSendP2PMsg) GetMsgID() string
- func (m *ReqSendP2PMsg) GetSourceUID() int64
- func (m *ReqSendP2PMsg) GetTargetUID() int64
- func (*ReqSendP2PMsg) ProtoMessage()
- func (m *ReqSendP2PMsg) Reset()
- func (m *ReqSendP2PMsg) String() string
- type ReqSyncMsg
- func (*ReqSyncMsg) Descriptor() ([]byte, []int)
- func (m *ReqSyncMsg) GetCmd() uint32
- func (m *ReqSyncMsg) GetCmdStr() string
- func (m *ReqSyncMsg) GetCurrentID() int64
- func (m *ReqSyncMsg) GetUID() int64
- func (*ReqSyncMsg) ProtoMessage()
- func (m *ReqSyncMsg) Reset()
- func (m *ReqSyncMsg) String() string
- type ResAcceptP2PMsgAck
- func (*ResAcceptP2PMsgAck) Descriptor() ([]byte, []int)
- func (m *ResAcceptP2PMsgAck) GetCmd() uint32
- func (m *ResAcceptP2PMsgAck) GetCmdStr() string
- func (m *ResAcceptP2PMsgAck) GetErrCode() uint32
- func (m *ResAcceptP2PMsgAck) GetErrStr() string
- func (*ResAcceptP2PMsgAck) ProtoMessage()
- func (m *ResAcceptP2PMsgAck) Reset()
- func (m *ResAcceptP2PMsgAck) String() string
- type ResLogin
- type ResLogout
- type ResNotify
- func (*ResNotify) Descriptor() ([]byte, []int)
- func (m *ResNotify) GetCmd() uint32
- func (m *ResNotify) GetCmdStr() string
- func (m *ResNotify) GetCurrentID() int64
- func (m *ResNotify) GetErrCode() uint32
- func (m *ResNotify) GetErrStr() string
- func (*ResNotify) ProtoMessage()
- func (m *ResNotify) Reset()
- func (m *ResNotify) String() string
- type ResSelectAccessServerForClient
- func (*ResSelectAccessServerForClient) Descriptor() ([]byte, []int)
- func (m *ResSelectAccessServerForClient) GetAddr() string
- func (m *ResSelectAccessServerForClient) GetCmd() uint32
- func (m *ResSelectAccessServerForClient) GetCmdStr() string
- func (m *ResSelectAccessServerForClient) GetErrCode() uint32
- func (m *ResSelectAccessServerForClient) GetErrStr() string
- func (*ResSelectAccessServerForClient) ProtoMessage()
- func (m *ResSelectAccessServerForClient) Reset()
- func (m *ResSelectAccessServerForClient) String() string
- type ResSendGroupMsg
- func (*ResSendGroupMsg) Descriptor() ([]byte, []int)
- func (m *ResSendGroupMsg) GetCmd() uint32
- func (m *ResSendGroupMsg) GetCmdStr() string
- func (m *ResSendGroupMsg) GetErrCode() uint32
- func (m *ResSendGroupMsg) GetErrStr() string
- func (*ResSendGroupMsg) ProtoMessage()
- func (m *ResSendGroupMsg) Reset()
- func (m *ResSendGroupMsg) String() string
- type ResSendP2PMsg
- func (*ResSendP2PMsg) Descriptor() ([]byte, []int)
- func (m *ResSendP2PMsg) GetCmd() uint32
- func (m *ResSendP2PMsg) GetCmdStr() string
- func (m *ResSendP2PMsg) GetErrCode() uint32
- func (m *ResSendP2PMsg) GetErrStr() string
- func (m *ResSendP2PMsg) GetMsg() string
- func (m *ResSendP2PMsg) GetMsgID() string
- func (m *ResSendP2PMsg) GetSourceUID() int64
- func (m *ResSendP2PMsg) GetTargetUID() int64
- func (*ResSendP2PMsg) ProtoMessage()
- func (m *ResSendP2PMsg) Reset()
- func (m *ResSendP2PMsg) String() string
- type ResSyncMsg
- func (*ResSyncMsg) Descriptor() ([]byte, []int)
- func (m *ResSyncMsg) GetCmd() uint32
- func (m *ResSyncMsg) GetCmdStr() string
- func (m *ResSyncMsg) GetCurrentID() int64
- func (m *ResSyncMsg) GetErrCode() uint32
- func (m *ResSyncMsg) GetErrStr() string
- func (m *ResSyncMsg) GetMsgs() []*OffsetMsg
- func (*ResSyncMsg) ProtoMessage()
- func (m *ResSyncMsg) Reset()
- func (m *ResSyncMsg) String() string
Constants ¶
View Source
const ( // error ErrServerCMD = 90001 // gateway ReqAccessServerCMD = 10001 // acess LoginCMD = 20001 PingCMD = 20002 SendP2PMsgCMD = 20003 AcceptP2PMsgAckCMD = 20004 SendGroupMsgCMD = 20005 SyncMsgCMD = 20006 NotifyCMD = 20007 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"`
}
func (*Base) Descriptor ¶
func (*Base) ProtoMessage ¶
func (*Base) ProtoMessage()
type Error ¶
type Error struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` ErrCode uint32 `protobuf:"varint,2,opt,name=errCode" json:"errCode,omitempty"` ErrStr string `protobuf:"bytes,3,opt,name=errStr" json:"errStr,omitempty"` }
func (*Error) Descriptor ¶
func (*Error) GetErrCode ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
type OffsetMsg ¶
type OffsetMsg struct { SourceUID int64 `protobuf:"varint,1,opt,name=sourceUID" json:"sourceUID,omitempty"` TargetUID int64 `protobuf:"varint,2,opt,name=targetUID" json:"targetUID,omitempty"` GroupID int64 `protobuf:"varint,3,opt,name=groupID" json:"groupID,omitempty"` MsgType string `protobuf:"bytes,4,opt,name=msgType" json:"msgType,omitempty"` MsgID string `protobuf:"bytes,5,opt,name=msgID" json:"msgID,omitempty"` Msg string `protobuf:"bytes,6,opt,name=msg" json:"msg,omitempty"` }
func (*OffsetMsg) Descriptor ¶
func (*OffsetMsg) GetGroupID ¶
func (*OffsetMsg) GetMsgType ¶
func (*OffsetMsg) GetSourceUID ¶
func (*OffsetMsg) GetTargetUID ¶
func (*OffsetMsg) ProtoMessage ¶
func (*OffsetMsg) ProtoMessage()
type ReqAcceptP2PMsgAck ¶
type ReqAcceptP2PMsgAck struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` SourceUID int64 `protobuf:"varint,3,opt,name=sourceUID" json:"sourceUID,omitempty"` TargetUID int64 `protobuf:"varint,4,opt,name=targetUID" json:"targetUID,omitempty"` MsgID string `protobuf:"bytes,5,opt,name=msgID" json:"msgID,omitempty"` }
p2p msg accept ack
func (*ReqAcceptP2PMsgAck) Descriptor ¶
func (*ReqAcceptP2PMsgAck) Descriptor() ([]byte, []int)
func (*ReqAcceptP2PMsgAck) GetCmd ¶
func (m *ReqAcceptP2PMsgAck) GetCmd() uint32
func (*ReqAcceptP2PMsgAck) GetCmdStr ¶
func (m *ReqAcceptP2PMsgAck) GetCmdStr() string
func (*ReqAcceptP2PMsgAck) GetMsgID ¶
func (m *ReqAcceptP2PMsgAck) GetMsgID() string
func (*ReqAcceptP2PMsgAck) GetSourceUID ¶
func (m *ReqAcceptP2PMsgAck) GetSourceUID() int64
func (*ReqAcceptP2PMsgAck) GetTargetUID ¶
func (m *ReqAcceptP2PMsgAck) GetTargetUID() int64
func (*ReqAcceptP2PMsgAck) ProtoMessage ¶
func (*ReqAcceptP2PMsgAck) ProtoMessage()
func (*ReqAcceptP2PMsgAck) Reset ¶
func (m *ReqAcceptP2PMsgAck) Reset()
func (*ReqAcceptP2PMsgAck) String ¶
func (m *ReqAcceptP2PMsgAck) String() string
type ReqAccessServer ¶
type ReqAccessServer struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` }
func (*ReqAccessServer) Descriptor ¶
func (*ReqAccessServer) Descriptor() ([]byte, []int)
func (*ReqAccessServer) GetCmd ¶
func (m *ReqAccessServer) GetCmd() uint32
func (*ReqAccessServer) GetCmdStr ¶
func (m *ReqAccessServer) GetCmdStr() string
func (*ReqAccessServer) ProtoMessage ¶
func (*ReqAccessServer) ProtoMessage()
func (*ReqAccessServer) Reset ¶
func (m *ReqAccessServer) Reset()
func (*ReqAccessServer) String ¶
func (m *ReqAccessServer) String() string
type ReqLogin ¶
type ReqLogin struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` UID int64 `protobuf:"varint,3,opt,name=UID" json:"UID,omitempty"` Token string `protobuf:"bytes,4,opt,name=token" json:"token,omitempty"` }
login
func (*ReqLogin) Descriptor ¶
func (*ReqLogin) ProtoMessage ¶
func (*ReqLogin) ProtoMessage()
type ReqLogout ¶
type ReqLogout struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` UID int64 `protobuf:"varint,3,opt,name=UID" json:"UID,omitempty"` }
logout
func (*ReqLogout) Descriptor ¶
func (*ReqLogout) ProtoMessage ¶
func (*ReqLogout) ProtoMessage()
type ReqPing ¶
type ReqPing struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` UID int64 `protobuf:"varint,3,opt,name=UID" json:"UID,omitempty"` }
ping
func (*ReqPing) Descriptor ¶
func (*ReqPing) ProtoMessage ¶
func (*ReqPing) ProtoMessage()
type ReqSendGroupMsg ¶
type ReqSendGroupMsg struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` SourceUID int64 `protobuf:"varint,3,opt,name=sourceUID" json:"sourceUID,omitempty"` GroupID int64 `protobuf:"varint,4,opt,name=groupID" json:"groupID,omitempty"` MsgID string `protobuf:"bytes,5,opt,name=msgID" json:"msgID,omitempty"` Msg string `protobuf:"bytes,6,opt,name=msg" json:"msg,omitempty"` }
group
func (*ReqSendGroupMsg) Descriptor ¶
func (*ReqSendGroupMsg) Descriptor() ([]byte, []int)
func (*ReqSendGroupMsg) GetCmd ¶
func (m *ReqSendGroupMsg) GetCmd() uint32
func (*ReqSendGroupMsg) GetCmdStr ¶
func (m *ReqSendGroupMsg) GetCmdStr() string
func (*ReqSendGroupMsg) GetGroupID ¶
func (m *ReqSendGroupMsg) GetGroupID() int64
func (*ReqSendGroupMsg) GetMsg ¶
func (m *ReqSendGroupMsg) GetMsg() string
func (*ReqSendGroupMsg) GetMsgID ¶
func (m *ReqSendGroupMsg) GetMsgID() string
func (*ReqSendGroupMsg) GetSourceUID ¶
func (m *ReqSendGroupMsg) GetSourceUID() int64
func (*ReqSendGroupMsg) ProtoMessage ¶
func (*ReqSendGroupMsg) ProtoMessage()
func (*ReqSendGroupMsg) Reset ¶
func (m *ReqSendGroupMsg) Reset()
func (*ReqSendGroupMsg) String ¶
func (m *ReqSendGroupMsg) String() string
type ReqSendP2PMsg ¶
type ReqSendP2PMsg struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` SourceUID int64 `protobuf:"varint,3,opt,name=sourceUID" json:"sourceUID,omitempty"` TargetUID int64 `protobuf:"varint,4,opt,name=targetUID" json:"targetUID,omitempty"` MsgID string `protobuf:"bytes,5,opt,name=msgID" json:"msgID,omitempty"` Msg string `protobuf:"bytes,6,opt,name=msg" json:"msg,omitempty"` }
p2p msg
func (*ReqSendP2PMsg) Descriptor ¶
func (*ReqSendP2PMsg) Descriptor() ([]byte, []int)
func (*ReqSendP2PMsg) GetCmd ¶
func (m *ReqSendP2PMsg) GetCmd() uint32
func (*ReqSendP2PMsg) GetCmdStr ¶
func (m *ReqSendP2PMsg) GetCmdStr() string
func (*ReqSendP2PMsg) GetMsg ¶
func (m *ReqSendP2PMsg) GetMsg() string
func (*ReqSendP2PMsg) GetMsgID ¶
func (m *ReqSendP2PMsg) GetMsgID() string
func (*ReqSendP2PMsg) GetSourceUID ¶
func (m *ReqSendP2PMsg) GetSourceUID() int64
func (*ReqSendP2PMsg) GetTargetUID ¶
func (m *ReqSendP2PMsg) GetTargetUID() int64
func (*ReqSendP2PMsg) ProtoMessage ¶
func (*ReqSendP2PMsg) ProtoMessage()
func (*ReqSendP2PMsg) Reset ¶
func (m *ReqSendP2PMsg) Reset()
func (*ReqSendP2PMsg) String ¶
func (m *ReqSendP2PMsg) String() string
type ReqSyncMsg ¶
type ReqSyncMsg struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` UID int64 `protobuf:"varint,3,opt,name=UID" json:"UID,omitempty"` CurrentID int64 `protobuf:"varint,4,opt,name=currentID" json:"currentID,omitempty"` }
sync msg
func (*ReqSyncMsg) Descriptor ¶
func (*ReqSyncMsg) Descriptor() ([]byte, []int)
func (*ReqSyncMsg) GetCmd ¶
func (m *ReqSyncMsg) GetCmd() uint32
func (*ReqSyncMsg) GetCmdStr ¶
func (m *ReqSyncMsg) GetCmdStr() string
func (*ReqSyncMsg) GetCurrentID ¶
func (m *ReqSyncMsg) GetCurrentID() int64
func (*ReqSyncMsg) GetUID ¶
func (m *ReqSyncMsg) GetUID() int64
func (*ReqSyncMsg) ProtoMessage ¶
func (*ReqSyncMsg) ProtoMessage()
func (*ReqSyncMsg) Reset ¶
func (m *ReqSyncMsg) Reset()
func (*ReqSyncMsg) String ¶
func (m *ReqSyncMsg) String() string
type ResAcceptP2PMsgAck ¶
type ResAcceptP2PMsgAck struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` ErrCode uint32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` ErrStr string `protobuf:"bytes,4,opt,name=errStr" json:"errStr,omitempty"` }
func (*ResAcceptP2PMsgAck) Descriptor ¶
func (*ResAcceptP2PMsgAck) Descriptor() ([]byte, []int)
func (*ResAcceptP2PMsgAck) GetCmd ¶
func (m *ResAcceptP2PMsgAck) GetCmd() uint32
func (*ResAcceptP2PMsgAck) GetCmdStr ¶
func (m *ResAcceptP2PMsgAck) GetCmdStr() string
func (*ResAcceptP2PMsgAck) GetErrCode ¶
func (m *ResAcceptP2PMsgAck) GetErrCode() uint32
func (*ResAcceptP2PMsgAck) GetErrStr ¶
func (m *ResAcceptP2PMsgAck) GetErrStr() string
func (*ResAcceptP2PMsgAck) ProtoMessage ¶
func (*ResAcceptP2PMsgAck) ProtoMessage()
func (*ResAcceptP2PMsgAck) Reset ¶
func (m *ResAcceptP2PMsgAck) Reset()
func (*ResAcceptP2PMsgAck) String ¶
func (m *ResAcceptP2PMsgAck) String() string
type ResLogin ¶
type ResLogin struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` ErrCode uint32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` ErrStr string `protobuf:"bytes,4,opt,name=errStr" json:"errStr,omitempty"` }
func (*ResLogin) Descriptor ¶
func (*ResLogin) GetErrCode ¶
func (*ResLogin) ProtoMessage ¶
func (*ResLogin) ProtoMessage()
type ResLogout ¶
type ResLogout struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` ErrCode uint32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` ErrStr string `protobuf:"bytes,4,opt,name=errStr" json:"errStr,omitempty"` }
func (*ResLogout) Descriptor ¶
func (*ResLogout) GetErrCode ¶
func (*ResLogout) ProtoMessage ¶
func (*ResLogout) ProtoMessage()
type ResNotify ¶
type ResNotify struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` ErrCode uint32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` ErrStr string `protobuf:"bytes,4,opt,name=errStr" json:"errStr,omitempty"` CurrentID int64 `protobuf:"varint,5,opt,name=currentID" json:"currentID,omitempty"` }
notify
func (*ResNotify) Descriptor ¶
func (*ResNotify) GetCurrentID ¶
func (*ResNotify) GetErrCode ¶
func (*ResNotify) ProtoMessage ¶
func (*ResNotify) ProtoMessage()
type ResSelectAccessServerForClient ¶
type ResSelectAccessServerForClient struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` ErrCode uint32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` ErrStr string `protobuf:"bytes,4,opt,name=errStr" json:"errStr,omitempty"` Addr string `protobuf:"bytes,5,opt,name=addr" json:"addr,omitempty"` }
func (*ResSelectAccessServerForClient) Descriptor ¶
func (*ResSelectAccessServerForClient) Descriptor() ([]byte, []int)
func (*ResSelectAccessServerForClient) GetAddr ¶
func (m *ResSelectAccessServerForClient) GetAddr() string
func (*ResSelectAccessServerForClient) GetCmd ¶
func (m *ResSelectAccessServerForClient) GetCmd() uint32
func (*ResSelectAccessServerForClient) GetCmdStr ¶
func (m *ResSelectAccessServerForClient) GetCmdStr() string
func (*ResSelectAccessServerForClient) GetErrCode ¶
func (m *ResSelectAccessServerForClient) GetErrCode() uint32
func (*ResSelectAccessServerForClient) GetErrStr ¶
func (m *ResSelectAccessServerForClient) GetErrStr() string
func (*ResSelectAccessServerForClient) ProtoMessage ¶
func (*ResSelectAccessServerForClient) ProtoMessage()
func (*ResSelectAccessServerForClient) Reset ¶
func (m *ResSelectAccessServerForClient) Reset()
func (*ResSelectAccessServerForClient) String ¶
func (m *ResSelectAccessServerForClient) String() string
type ResSendGroupMsg ¶
type ResSendGroupMsg struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` ErrCode uint32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` ErrStr string `protobuf:"bytes,4,opt,name=errStr" json:"errStr,omitempty"` }
func (*ResSendGroupMsg) Descriptor ¶
func (*ResSendGroupMsg) Descriptor() ([]byte, []int)
func (*ResSendGroupMsg) GetCmd ¶
func (m *ResSendGroupMsg) GetCmd() uint32
func (*ResSendGroupMsg) GetCmdStr ¶
func (m *ResSendGroupMsg) GetCmdStr() string
func (*ResSendGroupMsg) GetErrCode ¶
func (m *ResSendGroupMsg) GetErrCode() uint32
func (*ResSendGroupMsg) GetErrStr ¶
func (m *ResSendGroupMsg) GetErrStr() string
func (*ResSendGroupMsg) ProtoMessage ¶
func (*ResSendGroupMsg) ProtoMessage()
func (*ResSendGroupMsg) Reset ¶
func (m *ResSendGroupMsg) Reset()
func (*ResSendGroupMsg) String ¶
func (m *ResSendGroupMsg) String() string
type ResSendP2PMsg ¶
type ResSendP2PMsg struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` ErrCode uint32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` ErrStr string `protobuf:"bytes,4,opt,name=errStr" json:"errStr,omitempty"` SourceUID int64 `protobuf:"varint,5,opt,name=sourceUID" json:"sourceUID,omitempty"` TargetUID int64 `protobuf:"varint,6,opt,name=targetUID" json:"targetUID,omitempty"` MsgID string `protobuf:"bytes,7,opt,name=msgID" json:"msgID,omitempty"` Msg string `protobuf:"bytes,8,opt,name=msg" json:"msg,omitempty"` }
func (*ResSendP2PMsg) Descriptor ¶
func (*ResSendP2PMsg) Descriptor() ([]byte, []int)
func (*ResSendP2PMsg) GetCmd ¶
func (m *ResSendP2PMsg) GetCmd() uint32
func (*ResSendP2PMsg) GetCmdStr ¶
func (m *ResSendP2PMsg) GetCmdStr() string
func (*ResSendP2PMsg) GetErrCode ¶
func (m *ResSendP2PMsg) GetErrCode() uint32
func (*ResSendP2PMsg) GetErrStr ¶
func (m *ResSendP2PMsg) GetErrStr() string
func (*ResSendP2PMsg) GetMsg ¶
func (m *ResSendP2PMsg) GetMsg() string
func (*ResSendP2PMsg) GetMsgID ¶
func (m *ResSendP2PMsg) GetMsgID() string
func (*ResSendP2PMsg) GetSourceUID ¶
func (m *ResSendP2PMsg) GetSourceUID() int64
func (*ResSendP2PMsg) GetTargetUID ¶
func (m *ResSendP2PMsg) GetTargetUID() int64
func (*ResSendP2PMsg) ProtoMessage ¶
func (*ResSendP2PMsg) ProtoMessage()
func (*ResSendP2PMsg) Reset ¶
func (m *ResSendP2PMsg) Reset()
func (*ResSendP2PMsg) String ¶
func (m *ResSendP2PMsg) String() string
type ResSyncMsg ¶
type ResSyncMsg struct { Cmd uint32 `protobuf:"varint,1,opt,name=cmd" json:"cmd,omitempty"` CmdStr string `protobuf:"bytes,2,opt,name=cmdStr" json:"cmdStr,omitempty"` ErrCode uint32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` ErrStr string `protobuf:"bytes,4,opt,name=errStr" json:"errStr,omitempty"` CurrentID int64 `protobuf:"varint,5,opt,name=currentID" json:"currentID,omitempty"` Msgs []*OffsetMsg `protobuf:"bytes,6,rep,name=Msgs" json:"Msgs,omitempty"` }
func (*ResSyncMsg) Descriptor ¶
func (*ResSyncMsg) Descriptor() ([]byte, []int)
func (*ResSyncMsg) GetCmd ¶
func (m *ResSyncMsg) GetCmd() uint32
func (*ResSyncMsg) GetCmdStr ¶
func (m *ResSyncMsg) GetCmdStr() string
func (*ResSyncMsg) GetCurrentID ¶
func (m *ResSyncMsg) GetCurrentID() int64
func (*ResSyncMsg) GetErrCode ¶
func (m *ResSyncMsg) GetErrCode() uint32
func (*ResSyncMsg) GetErrStr ¶
func (m *ResSyncMsg) GetErrStr() string
func (*ResSyncMsg) GetMsgs ¶
func (m *ResSyncMsg) GetMsgs() []*OffsetMsg
func (*ResSyncMsg) ProtoMessage ¶
func (*ResSyncMsg) ProtoMessage()
func (*ResSyncMsg) Reset ¶
func (m *ResSyncMsg) Reset()
func (*ResSyncMsg) String ¶
func (m *ResSyncMsg) String() string
Click to show internal directories.
Click to hide internal directories.