raftleader

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package raftleader is included in your Raft nodes to expose whether this node is the leader.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(isLeader bool, leadershipChangeCh <-chan bool, s *grpc.Server, services []string)

Setup creates a new health.Server for you and registers it on s. It's a convenience wrapper around report.

Types

This section is empty.

Jump to

Keyboard shortcuts

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