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.

      Source Files

      Directories

      Path Synopsis
      gw
      Package v3electionpb is a reverse proxy.
      Package v3electionpb is a reverse proxy.