GNTP client for Go
client := gntp.NewClient()
client.AppName = "my-app"
client.Server = "localhost:23053"
client.Password = "foobar"
client.HashAlgorithm = "SHA256"
client.EncryptAlgorithm = "AES"
n := []gntp.Notification{Event: "MyEvent", DisplayName: "My Event Name", Enabled: true}}
client.Register(n)
m := gntp.Message{Event: "MyEvent", Title: "my-title", Text: "my-text"}
client.Send(&m)
go get github.com/mattn/go-gntp
MIT
Yasuhiro Matsumoto (a.k.a. mattn)