Loading pkg/notify/nimrod.go 0 → 100644 +18 −0 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 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 }