Versions in this module Expand all Collapse all v1 v1.0.1 May 10, 2021 v1.0.0 May 9, 2021 Changes in this version + type ElectOption func(o *ElectOptions) + type ElectOptions struct + type Elected interface + Id func() string + Reelect func() error + Resign func() error + Revoked func() chan bool + type Leader interface + Elect func(id string, opts ...ElectOption) (Elected, error) + Follow func() chan string + type Option func(o *Options) + func Group(g string) Option + func Nodes(a ...string) Option + type Options struct + Group string + Nodes []string Incompatible versions in this module v2.3.0+incompatible May 9, 2021