Skip to content

jboelter/notificator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notificator

Desktop notification with golang for:

  • Windows with growlnotify;
  • Mac OS X with growlnotify;
  • Linux with notify-send for gnome and kdialog for kde.

usage

package main

import (
  "github.com/jboelter/notificator"
)

var notify *notificator.Notificator

func main() {

  notify = notificator.New(notificator.Options{
    DefaultIcon: "icon/default.png",
    AppName:     "My test App",
  })

  notify.PushWithIcon("title", "text", "/home/user/icon.png")
}

todo

  • Add more options for different notificators.

contribution

  • Fork;
  • Make changes;
  • Send pull request;
  • Thank you.

authors

@0xAX joshuaboelter

About

Desktop notifications with golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%