Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 }
Notification represtens the notification structure
func NewNotification ¶
func NewNotification(message string) *Notification
NewNotification return a Notification for a message string
type Sound ¶
type Sound string
Sound to play with a notification
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" Tink Sound = "Tink" )
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" Tink Sound = "Tink"
Click to show internal directories.
Click to hide internal directories.