aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--http/http.go7
-rw-r--r--http/systemd_linux.go3
2 files changed, 5 insertions, 5 deletions
diff --git a/http/http.go b/http/http.go
index 063c1e8..71075a7 100644
--- a/http/http.go
+++ b/http/http.go
@@ -2,12 +2,15 @@ package http
import (
"context"
+ "errors"
"fmt"
- "go.sudomsg.com/kit/logging"
- "golang.org/x/sync/errgroup"
"log/slog"
"net"
"net/http"
+ "time"
+
+ "go.sudomsg.com/kit/logging"
+ "golang.org/x/sync/errgroup"
)
// RunHTTPServers runs HTTP servers concurrently on all provided listeners.
diff --git a/http/systemd_linux.go b/http/systemd_linux.go
index 817b421..9b52bd6 100644
--- a/http/systemd_linux.go
+++ b/http/systemd_linux.go
@@ -4,7 +4,6 @@ package http
import (
"fmt"
-
"net"
"os"
"strconv"
@@ -57,5 +56,3 @@ func getSystemdListeners() (Listeners, error) {
return lns, nil
}
-
-