// Package constants define constant variable package constants const ( // RedisAllGridSetKey define redis set key which store all grid keys RedisAllGridSetKey = "grid_keys" // RedisAllZoneSetKey define redis set key which store all zone keys RedisAllZoneSetKey = "zone_keys" // RedisAllStationSetKey define redis set key which store all station keys RedisAllStationSetKey = "station_keys" // RedisAllCompNSPathSetKey define redis set key which store all component nspath keys RedisAllCompNSPathSetKey = "component_nspath_keys" // RedisAllCompTagSetKey define redis set key which store all component tag keys RedisAllCompTagSetKey = "component_tag_keys" // RedisAllConfigSetKey define redis set key which store all config keys RedisAllConfigSetKey = "config_keys" // RedisAllMeasTagSetKey define redis set key which store all measurement tag keys RedisAllMeasTagSetKey = "measurement_tag_keys" // RedisSpecGridZoneSetKey define redis set key which store all zone keys under specific grid RedisSpecGridZoneSetKey = "%s_zones_keys" // RedisSpecZoneStationSetKey define redis set key which store all station keys under specific zone RedisSpecZoneStationSetKey = "%s_stations_keys" // RedisSpecStationCompNSPATHSetKey define redis set key which store all component nspath keys under specific station RedisSpecStationCompNSPATHSetKey = "%s_components_nspath_keys" // RedisSpecStationCompTagSetKey define redis set key which store all component tag keys under specific station RedisSpecStationCompTagSetKey = "%s_components_tag_keys" // RedisSpecCompTagMeasSetKey define redis set key which store all measurement keys under specific component tag RedisSpecCompTagMeasSetKey = "%s_measurement_keys" ) const ( // SearchLinkAddAction define search link add action SearchLinkAddAction = "add" // SearchLinkDelAction define search link del action SearchLinkDelAction = "del" )