v3election

package
v3.3.22 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 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
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