fakenotifier

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendOnNotify

func SendOnNotify(ch chan<- *notifier.NotifyRequest) func(req *notifier.NotifyRequest) (*notifier.NotifyResponse, error)

Types

type Config

type Config struct {
	OnNotify          func(*notifier.NotifyRequest) (*notifier.NotifyResponse, error)
	OnNotifyAndAdvise func(*notifier.NotifyAndAdviseRequest) (*notifier.NotifyAndAdviseResponse, error)
}

type Notifier

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

func New

func New(config Config) *Notifier

func NotifyWaiter

func NotifyWaiter() (*Notifier, <-chan *notifier.NotifyRequest)

func (*Notifier) Configure

func (*Notifier) GetPluginInfo

func (*Notifier) Notify

Jump to

Keyboard shortcuts

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