notifier

package
v0.23.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier struct {
	// contains filtered or unexported fields
}

func NewNotifier

func NewNotifier() *Notifier

func (*Notifier) AddNode

func (n *Notifier) AddNode(machineKey string, c chan<- types.StateUpdate)

func (*Notifier) NotifyAll

func (n *Notifier) NotifyAll(update types.StateUpdate)

func (*Notifier) NotifyWithIgnore

func (n *Notifier) NotifyWithIgnore(update types.StateUpdate, ignore ...string)

func (*Notifier) RemoveNode

func (n *Notifier) RemoveNode(machineKey string)

Jump to

Keyboard shortcuts

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