election

package
v0.0.0-...-9146478 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event interface {
	IsConnected() bool
	IsMaster() bool
}

Event .

type Interface

type Interface interface {
	IsConnected() bool
	IsMaster() bool
	Watch(Listener)
}

Interface .

type Listener

type Listener func(Event)

Listener .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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