Back to / etcdserver / api / v3election

Package v3election

Latest Go to latest

The latest major version is .

Published: May 20, 2020 | License: Apache-2.0 | Module:


Package v3election provides a v3 election service from an etcdserver.



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

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

func NewElectionServer

func NewElectionServer(c *clientv3.Client) epb.ElectionServer
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier