leader

package
v1.0.718 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register added in v1.0.713

func Register(
	ctx context.Context,
	app string,
	namespace string,
	onLead func(ctx gocontext.Context),
	onStoppedLead func(),
	onNewLeader func(identity string),
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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