manager_event

package
v1.1.11-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	*manager.Base
	Exit bool
	// contains filtered or unexported fields
}

Manager is event manager

func New

func New() (m *Manager)

New returns a new Manager

func (*Manager) Run

func (m *Manager) Run(ctx context.Context) (err error)

Run start working when become a leader

func (*Manager) Stop

func (m *Manager) Stop()

Stop stop working when lost leader

Jump to

Keyboard shortcuts

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