Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CurrentNodesCount is the redis key for current Cerberus node count. CurrentNodesCount = "nodecount" // CurrentRequestsCount is the redis key for current Cerberus proxy request count. CurrentRequestsCount = "requestcount" // LeaderLock is the lock to get leadership. LeaderLock = "leaderlock" )
Variables ¶
View Source
var Manager *manager
Manager is the state manager for Cerberus.
Functions ¶
func InitManager ¶
func InitManager() error
InitManager connects to redis and setup the state manager.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.