notificator

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UR_NORMAL   = "normal"
	UR_CRITICAL = "critical"
)

Variables

This section is empty.

Functions

func CheckMacOSVersion

func CheckMacOSVersion() bool

func CheckTermNotif

func CheckTermNotif() bool

Types

type Notificator

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

func New

func New(o Options) *Notificator

func (Notificator) Push

func (n Notificator) Push(title string, text string, iconPath string, urgency string) error

type Options

type Options struct {
	DefaultIcon string
	AppName     string
}

Jump to

Keyboard shortcuts

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