package
0.7.2
Repository: https://github.com/lucasbfernandes/go-client.git
Documentation: pkg.go.dev

# Functions

New creates a new election primitive.
WithID sets the election instance identifier.

# Constants

EventChanged indicates the election term changed.
Type is the election type.

# Structs

Event is an election event.
Term is a leadership term A term is guaranteed to have a monotonically increasing, globally unique ID.

# Interfaces

Client provides an API for creating Elections.
Election provides distributed leader election.
Option is an election option.

# Type aliases

EventType is the type of an Election event.