应用集成平台服务端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
348 B

package webstocetmsg
import (
"github.com/gorilla/websocket"
)
type WebSocketClientBase struct {
ID string
Conn *websocket.Conn
LastHeartbeat int64
BindUid string
JoinGroup []string
}
type WebSocketUserBase struct {
Uid string
ClientID []string
}
type WebSocketGroupBase struct {
ClientID []string
}