Back to godoc.org

Package v3election

v3.3.22+incompatible
Latest Go to latest
Published: May 20, 2020 | License: Apache-2.0 | Module: github.com/coreos/etcd

Overview

Package v3election provides a v3 election service from an etcdserver.

Index

Package Files

Variables

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