leadership

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2016 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(next hugot.RawHandler, store store.Store, key, name string) hugot.RawHandler

New creates a new handler that uses an external consistent store to elect a leader among competing bots. Until the handler is elected leader, all messages are ignored. Messaes arriving via WebHooks will still arrive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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