about summary refs log tree commit diff stats
path: root/internal/server
diff options
context:
space:
mode:
authorAlan Pearce2024-07-02 11:47:57 +0200
committerAlan Pearce2024-07-02 11:47:57 +0200
commitfa4761a9e437e896719246a8840b8856a48a199c (patch)
treecf42d8a0039bef36ff869466526a5580d384ef16 /internal/server
parentb22ceb6c830f07061e5e16e1428438b495efe9d6 (diff)
downloadwebsite-fa4761a9e437e896719246a8840b8856a48a199c.tar.lz
website-fa4761a9e437e896719246a8840b8856a48a199c.tar.zst
website-fa4761a9e437e896719246a8840b8856a48a199c.zip
extract listenfd library
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/tcp.go2
-rw-r--r--internal/server/tls.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/server/tcp.go b/internal/server/tcp.go
index 12fdeb2..1627854 100644
--- a/internal/server/tcp.go
+++ b/internal/server/tcp.go
@@ -1,7 +1,7 @@
 package server
 
 import (
-	"go.alanpearce.eu/website/internal/listenfd"
+	"go.alanpearce.eu/x/listenfd"
 )
 
 func (s *Server) serveTCP() error {
diff --git a/internal/server/tls.go b/internal/server/tls.go
index cd2bfb8..6b64a79 100644
--- a/internal/server/tls.go
+++ b/internal/server/tls.go
@@ -7,7 +7,7 @@ import (
 	"net/http"
 	"strconv"
 
-	"go.alanpearce.eu/website/internal/listenfd"
+	"go.alanpearce.eu/x/listenfd"
 
 	"github.com/ardanlabs/conf/v3"
 	"github.com/caddyserver/caddy/v2"