v3election

package
v3.2.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Directories

Path Synopsis
Package v3electionpb is a generated protocol buffer package.
Package v3electionpb is a generated protocol buffer package.
gw
Package v3electionpb is a reverse proxy.
Package v3electionpb is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL