etcd: Index | Files | Directories

package v3election

import ""

Package v3election provides a v3 election service from an etcdserver.


Package Files

doc.go election.go


var ErrMissingLeaderKey = errors.New(`"leader" field must be provided`)

ErrMissingLeaderKey is returned when election API request is missing the "leader" field.

func NewElectionServer Uses

func NewElectionServer(c *clientv3.Client) epb.ElectionServer


v3electionpbPackage v3electionpb is a generated protocol buffer package.
v3electionpb/gwPackage v3electionpb is a reverse proxy.

Package v3election imports 5 packages (graph) and is imported by 144 packages. Updated 2020-05-22. Refresh now. Tools for package owners.