30 lines
730 B
Go
30 lines
730 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"
|
|
)
|