Documentation ¶
Index ¶
Constants ¶
View Source
const (
ServerElectionPath = "server"
)
define ServerElectionPath to "server"
Variables ¶
View Source
var ( ErrorManagerNotRunning = fmt.Errorf("manager is not running") ErrorInvalidIPV4 = fmt.Errorf("invalid ip v4") ErrorIPNotAllowed = fmt.Errorf("ip not allowed") ErrorConcurrencyLimit = fmt.Errorf("the task concurrency reaches the limits") ErrorGenerateTaskIDFailed = fmt.Errorf("generate task id failed") ErrorTaskAlreadyTerminated = fmt.Errorf("task is already in terminated status") ErrorLeaderNoFound = fmt.Errorf("leader no found") )
Functions ¶
This section is empty.
Types ¶
type RoleChangeEvent ¶
type RoleChangeEvent <-chan RoleType
RoleChangeEvent: Provides the master-change event notifications.
type ServerInfo ¶
type ServerInfo struct {
types.ServerInfo
}
Click to show internal directories.
Click to hide internal directories.