aboutsummaryrefslogtreecommitdiff
path: root/pkg/worker/http.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-06-11 22:25:45 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-06-11 22:25:45 +0200
commit89705dd61f418df561ebbe7cf645ba82a61e47e7 (patch)
treec9e16bd0c65956b298866f3ff8461fe998a5d8ab /pkg/worker/http.go
parent98b4a72f1776d0343c0649920f031723e5ca0e47 (diff)
downloadcerrado-89705dd61f418df561ebbe7cf645ba82a61e47e7.tar.gz
cerrado-89705dd61f418df561ebbe7cf645ba82a61e47e7.tar.bz2
cerrado-89705dd61f418df561ebbe7cf645ba82a61e47e7.zip
fix: Make use of the descriptionv0.0.3
Diffstat (limited to 'pkg/worker/http.go')
-rw-r--r--pkg/worker/http.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/worker/http.go b/pkg/worker/http.go
index c4f9950..1559ba2 100644
--- a/pkg/worker/http.go
+++ b/pkg/worker/http.go
@@ -3,6 +3,7 @@ package worker
import (
"context"
"errors"
+ "log/slog"
"net"
"net/http"
"net/url"
@@ -36,6 +37,7 @@ func (s *ServerTask) Start(ctx context.Context) error {
}
go func() {
+ slog.Info("Serving", "addr", listen.Addr().String(), "network", listen.Addr().Network())
done <- server.Serve(listen)
}()