This commit is contained in:
Adam Majer 2024-08-27 11:13:34 +02:00
parent 1ceb74e461
commit 035f77cd15

View File

@ -309,6 +309,10 @@ func main() {
flag.StringVar(&listenAddr, "listen", ListenAddrDef, "HTTP listen socket address for webhook events")
flag.Parse()
log.Println("Starting....")
log.Printf(" * Debugging: %t\n", DebugMode)
log.Printf(" * Listening: %s\n", listenAddr)
connectToRabbitMQ()
http.HandleFunc("POST /rabbitmq-forwarder", func(res http.ResponseWriter, req *http.Request) {