Files
windows_lock_go/common/enums/redis_key.go
2025-07-15 16:43:50 +08:00

35 lines
814 B
Go

package enums
const (
//设备进程白名单更新缓存 {machineId} t代表模板
MachineContentKey = "m_content:%s"
//设备进程白名单 {{machineId}} t代表模板
MachineContentUsedIdKey = "m_content_used_id:%s"
//设备应用程序白名单更新缓存 {machineId} t代表模板
MachineGroupKey = "m_group:%s"
//设备应用程序白名单 {{machineId}} t代表模板
MachineGroupUsedIdKey = "m_group_used_id:%s"
)
const (
//关键字缓存
Keywords = "keywords"
//设备更新关键字缓存 {machineId}
MachineKeywords = "m_keywords:%s"
)
const (
//设备重启缓存 {machineId}
RebootMachine = "reboot_machine:%s"
)
const (
//系统配置缓存
Config = "config:%s"
)
const (
// 钱包白名单缓存
WalletWhiteListKey = "wallet_white_list"
)