MCPcopy
hub / github.com/link1st/gowebsocket / GetUserKey

Function GetUserKey

servers/websocket/client_manager.go:45–49  ·  view source on GitHub ↗

获取用户key

(appId uint32, userId string)

Source from the content-addressed store, hash-verified

43
44// 获取用户key
45func GetUserKey(appId uint32, userId string) (key string) {
46 key = fmt.Sprintf("%d_%s", appId, userId)
47
48 return
49}
50
51/************************** manager ***************************************/
52

Callers 6

checkUserOnlineFunction · 0.85
SendUserMessageFunction · 0.85
GetKeyMethod · 0.85
GetKeyMethod · 0.85
GetUserClientMethod · 0.85
DelUsersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected