Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dsn ¶
func Dsn() string
Dsn returns the data source name of the storage specified in the configuration.
func NewPrimaryBackup ¶
NewPrimaryBackup creates a jobqueue.Impl which uses MySQL as a data store and restricts only one node to be active in a cluster.
Inactive nodes become backup nodes, which will be active when the active node dies.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.