raftleader

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthObserver

type HealthObserver struct {
	// contains filtered or unexported fields
}

func NewRaftLeaderHealthObserver

func NewRaftLeaderHealthObserver(hs health.Service, logger log.Logger) *HealthObserver

func (*HealthObserver) Deregister

func (hs *HealthObserver) Deregister(r *raft.Raft, service string)

func (*HealthObserver) Register

func (hs *HealthObserver) Register(r *raft.Raft, service string)

Jump to

Keyboard shortcuts

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