From ede0b99d3a345f1472dd967a76f68cf067239a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Mon, 24 Jul 2023 18:38:04 +0200 Subject: [PATCH] v0.0.203 --- ginext/engine.go | 5 ++++- goextVersion.go | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ginext/engine.go b/ginext/engine.go index ac33c30..59c5763 100644 --- a/ginext/engine.go +++ b/ginext/engine.go @@ -68,6 +68,9 @@ func NewEngine(allowCors bool, ginDebug bool, timeout time.Duration) *GinWrapper } func (w *GinWrapper) ListenAndServeHTTP(addr string, postInit func(port string)) (chan error, *http.Server) { + + w.DebugPrintRoutes() + httpserver := &http.Server{ Addr: addr, Handler: w.engine, @@ -92,7 +95,7 @@ func (w *GinWrapper) ListenAndServeHTTP(addr string, postInit func(port string)) log.Info().Str("address", httpserver.Addr).Msg("HTTP-Server started on http://localhost:" + port) if postInit != nil { - postInit(port) + postInit(port) // the net.Listener a few lines above is at this point actually already buffering requests } errChan <- httpserver.Serve(ln) diff --git a/goextVersion.go b/goextVersion.go index bbc835e..a284ca9 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.202" +const GoextVersion = "0.0.203" -const GoextVersionTimestamp = "2023-07-24T18:34:56+0200" +const GoextVersionTimestamp = "2023-07-24T18:38:04+0200"