Documentation ¶
Index ¶
Constants ¶
View Source
const GlobalKeyPrefix = "distributed-cron:"
GlobalKeyPrefix is global redis key preifx
Variables ¶
This section is empty.
Functions ¶
func GetStableJobStore ¶
func GetStableJobStoreTxKey ¶
Types ¶
type Driver ¶
type Driver interface { // Ping is check dirver is valid Ping() error SetLogger(log dlog.Logger) SetHeartBeat(node *node.Node) SetTimeout(timeout time.Duration) GetServiceNodeList(ServiceName string) ([]*node.Node, error) RegisterServiceNode(node *node.Node) (string, error) }
Driver is a driver interface
Click to show internal directories.
Click to hide internal directories.