notify

package
v0.0.0-...-905238a Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeepNotifier

type BeepNotifier struct{}

BeepNotifier just emits a beep on the terminal

func (*BeepNotifier) Push

func (*BeepNotifier) Push(string, string, string)

Push implements Notifier

type GrowlNotifier

type GrowlNotifier struct {
}

GrowlNotifier is a notifier for Growl

func (GrowlNotifier) Push

func (GrowlNotifier) Push(title string, text string, iconPath string)

Push implements Notifier

type LibnotifyNotifier

type LibnotifyNotifier struct {
}

LibnotifyNotifier is a notifier for lib-notify

func (LibnotifyNotifier) Push

func (LibnotifyNotifier) Push(title string, text string, iconPath string)

Push implements Notifier

type Notifier

type Notifier interface {
	Push(title string, content string, icon string)
}

A Notifier notifies

func PlatformNotifier

func PlatformNotifier() Notifier

PlatformNotifier finds a notifier for this platform

Jump to

Keyboard shortcuts

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