gotifier

package
v0.22.25 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2015 License: MIT Imports: 1 Imported by: 0

README

gotifier

Attempt at a global notification library for Go that supports both OSX and Ubuntu

OSX: Using terminal-notifier Ubuntu: Using notify-send

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notification

type Notification struct {
	Title, Subtitle, Message string
}

func (Notification) Push

func (notif Notification) Push() bool

type NotifierCommand

type NotifierCommand struct {
	Name, Path string
}

func (NotifierCommand) Command

func (cmd NotifierCommand) Command(notif Notification) *exec.Cmd

Jump to

Keyboard shortcuts

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