mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-01 07:35:58 +08:00
11 lines
186 B
Go
11 lines
186 B
Go
|
|
package cachekey
|
||
|
|
|
||
|
|
const ClientConfig = "CLIENT_CONFIG"
|
||
|
|
|
||
|
|
func GetClientConfigKey(userID string) string {
|
||
|
|
if userID == "" {
|
||
|
|
return ClientConfig
|
||
|
|
}
|
||
|
|
return ClientConfig + ":" + userID
|
||
|
|
}
|