summaryrefslogtreecommitdiff
path: root/internal/server/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/server.go')
-rw-r--r--internal/server/server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index 6013c1a..010b5b7 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -5,7 +5,7 @@ import (
"log"
"net/http"
- "codeberg.org/snonux/gos/internal/config"
+ config "codeberg.org/snonux/gos/internal/config/server"
"codeberg.org/snonux/gos/internal/server/health"
)
@@ -13,12 +13,12 @@ const HealthHandlerName = `healthHandler`
type Server struct {
Status health.Status
- Conf config.Config
+ Conf config.ServerConfig
}
type HandlerFuncWithError func(http.ResponseWriter, *http.Request) error
-func New(conf config.Config) Server {
+func New(conf config.ServerConfig) Server {
return Server{
Conf: conf,
Status: health.NewStatus(),