This commit is contained in:
2026-09-21 13:17:57 +10:00
parent a4ffa93a30
commit c62ea1e80a
4 changed files with 129 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package main
import (
"log"
"gitea.rantorium.com/Troy/notifyha"
)
func main() {
client := notifyha.New("https://homeassistant.example.com/api/webhook/central_notifications")
err := client.Info(
"Test Message",
"Hello from Go",
"example-app",
)
if err != nil {
log.Fatal(err)
}
}