Files
open-im-server/pkg/common/storage/cache/cachekey/application.go
T

16 lines
288 B
Go
Raw Normal View History

2024-10-25 16:50:58 +08:00
package cachekey
const (
ApplicationLatestVersion = "APPLICATION_LATEST_VERSION:"
)
2024-10-30 14:38:09 +08:00
func GetApplicationLatestVersionKey(platform string, hot bool) string {
var hotStr string
if hot {
hotStr = "1:"
} else {
hotStr = "0:"
}
return ApplicationLatestVersion + hotStr + platform
2024-10-25 16:50:58 +08:00
}