Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface { // Elect selects a new master as uid if there is a no existing master that has // been updated within expiration. elected will be true if this uid has been // elected as the new master or was already elected. Elect(uid string, expiration time.Duration) (elected bool, err error) }
Click to show internal directories.
Click to hide internal directories.