Loading pkg/notify/nimrod.go 0 → 100644 +18 −0 Changes for pkg/notify/nimrod.go: 18 added lines, 0 removed lines. Original line number Diff line number Diff line /* Simple mechanism to notify Nimrod. */ package notify import ( "net/http" "net/url" ) /* Send a notification to Nimrod. */ func Notify(message string) error { _, err := http.PostForm("https://notify.shore.co.il/send", url.Values{"message": {message}}) return err } Loading
pkg/notify/nimrod.go 0 → 100644 +18 −0 Changes for pkg/notify/nimrod.go: 18 added lines, 0 removed lines. Original line number Diff line number Diff line /* Simple mechanism to notify Nimrod. */ package notify import ( "net/http" "net/url" ) /* Send a notification to Nimrod. */ func Notify(message string) error { _, err := http.PostForm("https://notify.shore.co.il/send", url.Values{"message": {message}}) return err }