notifier

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MIT 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
}

Notifier allows for sending messages to a notification channel.

func NewNotifier

func NewNotifier(nodeID string) (*Notifier, error)

NewNotifier ...

func (*Notifier) Alert

func (n *Notifier) Alert(message string)

Alert ...

func (*Notifier) Info

func (n *Notifier) Info(message string)

Info ...

Jump to

Keyboard shortcuts

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