manager

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {

	// DoIsLeader returns true if manager is leader
	DoIsLeader func() (bool, error)
}

Plugin implements manager.Manager

func (*Plugin) IsLeader

func (t *Plugin) IsLeader() (bool, error)

IsLeader returns true if manager is leader

Jump to

Keyboard shortcuts

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