etcd: go.etcd.io/etcd/etcdserver/api/v3election Index | Files | Directories

package v3election

import "go.etcd.io/etcd/etcdserver/api/v3election"

Package v3election provides a v3 election service from an etcdserver.

Index

Package Files

doc.go election.go

Variables

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

Directories

PathSynopsis
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 18 packages. Updated 2019-06-13. Refresh now. Tools for package owners.