Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromCmdlineOptions ¶
Types ¶
type NotifyOptionFunc ¶
type NotifyOptionFunc func(*NotifyOutput)
func WithLogger ¶
func WithLogger(logger plugin.Logger) NotifyOptionFunc
WithLogger specifies the logger object to use for logging messages
func WithTitle ¶
func WithTitle(title string) NotifyOptionFunc
WithTitle specifies the notification title
type NotifyOutput ¶
type NotifyOutput struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...NotifyOptionFunc) *NotifyOutput
func (*NotifyOutput) ErrorChan ¶
func (n *NotifyOutput) ErrorChan() <-chan error
ErrorChan returns the plugin's error channel
func (*NotifyOutput) InputChan ¶
func (n *NotifyOutput) InputChan() chan<- event.Event
InputChan returns the input event channel
func (*NotifyOutput) OutputChan ¶
func (n *NotifyOutput) OutputChan() <-chan event.Event
OutputChan always returns nil