Documentation ¶
Index ¶
Constants ¶
View Source
const ( RedisSnapKeyPrefix = common.BKCacheKeyV3Prefix + "snapshot:" RedisDisKeyPrefix = common.BKCacheKeyV3Prefix + "discover:" MasterProcLockKey = common.BKCacheKeyV3Prefix + "snapshot:masterlock" MasterDisLockKey = common.BKCacheKeyV3Prefix + "discover:masterlock" RedisSnapKeyChannelStatus = common.BKCacheKeyV3Prefix + "snapshot:channelstatus" )
cache key define
View Source
const ( MaxSnapSize = 2000 MaxDiscoverSize = 1000 )
message process related define
View Source
const ( DiscoverChan = "discover" SnapShotChan = "snapshot" )
channel name
View Source
const ( DiscoverRedis = "discover-redis" CcRedis = "redis" SnapShotRedis = "snap-redis" )
channel config key defined
Variables ¶
View Source
var ( Snapcli *redis.Client Rediscli *redis.Client Discli *redis.Client )
redis clients
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.