mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-30 06:22:44 +08:00
28 lines
663 B
Go
28 lines
663 B
Go
package msggateway
|
|
|
|
const (
|
|
WsUserID = "sendID"
|
|
CommonUserID = "userID"
|
|
PlatformID = "platformID"
|
|
ConnID = "connID"
|
|
Token = "token"
|
|
OperationID = "operationID"
|
|
Compression = "compression"
|
|
GzipCompressionProtocol = "gzip"
|
|
)
|
|
const (
|
|
WebSocket = iota + 1
|
|
)
|
|
const (
|
|
//Websocket Protocol
|
|
WSGetNewestSeq = 1001
|
|
WSPullMsgBySeqList = 1002
|
|
WSSendMsg = 1003
|
|
WSSendSignalMsg = 1004
|
|
WSPushMsg = 2001
|
|
WSKickOnlineMsg = 2002
|
|
WsLogoutMsg = 2003
|
|
WsSetBackgroundStatus = 2004
|
|
WSDataError = 3001
|
|
)
|