gotinotifier

package module
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: MIT Imports: 13 Imported by: 0

README

Based on gosx-notifier

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FinalPath string
)

Functions

This section is empty.

Types

type Notification

type Notification struct {
	Message      string //required
	Title        string //optional
	Subtitle     string //optional
	Sound        Sound  //optional
	Link         string //optional
	Sender       string //optional
	Group        string //optional
	AppIcon      string //optional
	ContentImage string //optional
	Execute      string //optional
}

func NewNotification

func NewNotification(message string) *Notification

func (*Notification) Push

func (n *Notification) Push() error

type Sound

type Sound string
const (
	Default   Sound = "'default'"
	Basso     Sound = "Basso"
	Blow      Sound = "Blow"
	Bottle    Sound = "Bottle"
	Frog      Sound = "Frog"
	Funk      Sound = "Funk"
	Glass     Sound = "Glass"
	Hero      Sound = "Hero"
	Morse     Sound = "Morse"
	Ping      Sound = "Ping"
	Pop       Sound = "Pop"
	Purr      Sound = "Purr"
	Sosumi    Sound = "Sosumi"
	Submarine Sound = "Submarine"
	Tink      Sound = "Tink"
)

Directories

Path Synopsis
cmd
osx

Jump to

Keyboard shortcuts

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