Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/link1st/gowebsocket
/ GetKey
Method
GetKey
servers/websocket/client.go:29–33 ·
view source on GitHub ↗
读取客户端数据
()
Source
from the content-addressed store, hash-verified
27
28
// 读取客户端数据
29
func
(l *login) GetKey() (key string) {
30
key = GetUserKey(l.AppId, l.UserId)
31
32
return
33
}
34
35
// 用户连接
36
type
Client
struct
{
Callers
4
LoginController
Function · 0.45
HeartbeatController
Function · 0.45
EventLogin
Method · 0.45
EventUnregister
Method · 0.45
Calls
1
GetUserKey
Function · 0.85
Tested by
no test coverage detected