From 117580f107d44cd64077f499fa9fcd31aa9f553c Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 10 Oct 2025 21:40:12 +0200 Subject: [PATCH] Test out the webhook --- main.go | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index d1bfa13..1ab5f13 100644 --- a/main.go +++ b/main.go @@ -89,9 +89,15 @@ func main() { } }() - for i := 0; i < 10; i++ { - webhook.Post("eve-pi", "test", "test") - } + // for i := 0; i < 100; i++ { + // logger.Info("Sending test webhook %d", i) + // go func() { + // err := webhook.Post("EvePI", "test", "test" + strconv.Itoa(i)) + // if err != nil { + // logger.Error("Failed to send test webhook %d: %v", i, err) + // } + // }() + // } // Listen for SIGINT and gracefully shut down the server sigCh := make(chan os.Signal, 1)