package rts // RTS redis publish channels const ( ChanDevice = "device" // ChanDevice is the Redis pub channel for device updates ChanProject = "project" // ChanProject is the Redis pub channel for project updates ) // RTS redis key prefixes const ( KeyPrefixDevice = "device:" // KeyPrefixDevice is the Redis HKEY prefix for device data KeyPrefixProject = "project:" // KeyPrefixProject is the Redis HKEY prefix for project data ) // RTS redis key scan patterns const ( PatternDevice = "device:*" // PatternDevice is the pattern used for scanning devices PatternProject = "project:*" // PatternProject is the pattern used for scanning projects ) // RTS geohash key const ( SensorGeohashKey = "sensor:13:gps" // SensorGeohashKey is the key that holds the generic sensor GPS data )