external

package
v0.0.0-...-c242be3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2017 License: MIT Imports: 3 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*Base) GetCmd

func (m *Base) GetCmd() uint32

func (*Base) ProtoMessage

func (*Base) ProtoMessage()

func (*Base) Reset

func (m *Base) Reset()

func (*Base) String

func (m *Base) String() string

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) Descriptor() ([]byte, []int)

func (*Error) GetCmd

func (m *Error) GetCmd() uint32

func (*Error) GetErrCode

func (m *Error) GetErrCode() uint32

func (*Error) GetErrStr

func (m *Error) GetErrStr() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

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) Descriptor() ([]byte, []int)

func (*OffsetMsg) GetGroupID

func (m *OffsetMsg) GetGroupID() int64

func (*OffsetMsg) GetMsg

func (m *OffsetMsg) GetMsg() string

func (*OffsetMsg) GetMsgID

func (m *OffsetMsg) GetMsgID() string

func (*OffsetMsg) GetMsgType

func (m *OffsetMsg) GetMsgType() string

func (*OffsetMsg) GetSourceUID

func (m *OffsetMsg) GetSourceUID() int64

func (*OffsetMsg) GetTargetUID

func (m *OffsetMsg) GetTargetUID() int64

func (*OffsetMsg) ProtoMessage

func (*OffsetMsg) ProtoMessage()

func (*OffsetMsg) Reset

func (m *OffsetMsg) Reset()

func (*OffsetMsg) String

func (m *OffsetMsg) String() string

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) Descriptor() ([]byte, []int)

func (*ReqLogin) GetCmd

func (m *ReqLogin) GetCmd() uint32

func (*ReqLogin) GetCmdStr

func (m *ReqLogin) GetCmdStr() string

func (*ReqLogin) GetToken

func (m *ReqLogin) GetToken() string

func (*ReqLogin) GetUID

func (m *ReqLogin) GetUID() int64

func (*ReqLogin) ProtoMessage

func (*ReqLogin) ProtoMessage()

func (*ReqLogin) Reset

func (m *ReqLogin) Reset()

func (*ReqLogin) String

func (m *ReqLogin) String() string

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) Descriptor() ([]byte, []int)

func (*ReqLogout) GetCmd

func (m *ReqLogout) GetCmd() uint32

func (*ReqLogout) GetCmdStr

func (m *ReqLogout) GetCmdStr() string

func (*ReqLogout) GetUID

func (m *ReqLogout) GetUID() int64

func (*ReqLogout) ProtoMessage

func (*ReqLogout) ProtoMessage()

func (*ReqLogout) Reset

func (m *ReqLogout) Reset()

func (*ReqLogout) String

func (m *ReqLogout) String() string

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) Descriptor() ([]byte, []int)

func (*ReqPing) GetCmd

func (m *ReqPing) GetCmd() uint32

func (*ReqPing) GetCmdStr

func (m *ReqPing) GetCmdStr() string

func (*ReqPing) GetUID

func (m *ReqPing) GetUID() int64

func (*ReqPing) ProtoMessage

func (*ReqPing) ProtoMessage()

func (*ReqPing) Reset

func (m *ReqPing) Reset()

func (*ReqPing) String

func (m *ReqPing) String() string

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) Descriptor() ([]byte, []int)

func (*ResLogin) GetCmd

func (m *ResLogin) GetCmd() uint32

func (*ResLogin) GetCmdStr

func (m *ResLogin) GetCmdStr() string

func (*ResLogin) GetErrCode

func (m *ResLogin) GetErrCode() uint32

func (*ResLogin) GetErrStr

func (m *ResLogin) GetErrStr() string

func (*ResLogin) ProtoMessage

func (*ResLogin) ProtoMessage()

func (*ResLogin) Reset

func (m *ResLogin) Reset()

func (*ResLogin) String

func (m *ResLogin) String() string

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) Descriptor() ([]byte, []int)

func (*ResLogout) GetCmd

func (m *ResLogout) GetCmd() uint32

func (*ResLogout) GetCmdStr

func (m *ResLogout) GetCmdStr() string

func (*ResLogout) GetErrCode

func (m *ResLogout) GetErrCode() uint32

func (*ResLogout) GetErrStr

func (m *ResLogout) GetErrStr() string

func (*ResLogout) ProtoMessage

func (*ResLogout) ProtoMessage()

func (*ResLogout) Reset

func (m *ResLogout) Reset()

func (*ResLogout) String

func (m *ResLogout) String() string

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) Descriptor() ([]byte, []int)

func (*ResNotify) GetCmd

func (m *ResNotify) GetCmd() uint32

func (*ResNotify) GetCmdStr

func (m *ResNotify) GetCmdStr() string

func (*ResNotify) GetCurrentID

func (m *ResNotify) GetCurrentID() int64

func (*ResNotify) GetErrCode

func (m *ResNotify) GetErrCode() uint32

func (*ResNotify) GetErrStr

func (m *ResNotify) GetErrStr() string

func (*ResNotify) ProtoMessage

func (*ResNotify) ProtoMessage()

func (*ResNotify) Reset

func (m *ResNotify) Reset()

func (*ResNotify) String

func (m *ResNotify) String() string

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 (*ResSelectAccessServerForClient) GetCmd

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL