2025-09-24 16:43:11 +08:00
|
|
|
// Package constants define constant variable
|
|
|
|
|
package constants
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
// RedisAllGridSetKey define redis set key which store all grid keys
|
|
|
|
|
RedisAllGridSetKey = "grid_keys"
|
|
|
|
|
// RedisSpecGridZoneSetKey define redis set key which store all zone keys under specific grid
|
2025-09-25 16:39:45 +08:00
|
|
|
RedisSpecGridZoneSetKey = "grid_%s_zones_keys"
|
|
|
|
|
|
|
|
|
|
// RedisAllZoneSetKey define redis set key which store all zone keys
|
|
|
|
|
RedisAllZoneSetKey = "zone_keys"
|
|
|
|
|
// RedisSpecZoneStationSetKey define redis set key which store all station keys under specific zone
|
|
|
|
|
RedisSpecZoneStationSetKey = "zone_%s_stations_keys"
|
|
|
|
|
|
|
|
|
|
// RedisAllStationSetKey define redis set key which store all station keys
|
|
|
|
|
RedisAllStationSetKey = "station_keys"
|
|
|
|
|
// RedisSpecStationComponentSetKey define redis set key which store all component keys under specific station
|
|
|
|
|
RedisSpecStationComponentSetKey = "station_%s_components_keys"
|
|
|
|
|
|
|
|
|
|
// RedisAllComponentSetKey define redis set key which store all component keys
|
|
|
|
|
RedisAllComponentSetKey = "component_keys"
|
|
|
|
|
// RedisSpecComponentSetKey define redis set key which store all component keys under specific zone
|
|
|
|
|
RedisSpecComponentSetKey = "zone_%s_components_keys"
|
2025-09-24 16:43:11 +08:00
|
|
|
)
|