Documentation ¶
Overview ¶
Package v3election provides a v3 election service from an etcdserver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingLeaderKey = errors.New(`"leader" field must be provided`)
ErrMissingLeaderKey is returned when election API request is missing the "leader" field.
Functions ¶
func NewElectionServer ¶
func NewElectionServer(c *clientv3.Client) epb.ElectionServer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.