gosx-notifier: github.com/deckarep/gosx-notifier Index | Files

package gosxnotifier

import "github.com/deckarep/gosx-notifier"

Index

Package Files

gosx-notifier.go terminal-app-binary.go terminal-app-zip.go

Variables

var (
    FinalPath string
)

type Notification Uses

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
}

func NewNotification Uses

func NewNotification(message string) *Notification

func (*Notification) Push Uses

func (n *Notification) Push() error

type Sound Uses

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"
)

Package gosxnotifier imports 13 packages (graph) and is imported by 13 packages. Updated 2018-12-03. Refresh now. Tools for package owners.