about summary refs log tree commit diff stats
path: root/internal/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 9ab7ab5..a0a05eb 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -1,7 +1,6 @@
 package config
 
 import (
-	"html/template"
 	"log/slog"
 	"maps"
 	"net/url"
@@ -94,30 +93,6 @@ func mustLocalTime(in string) (time LocalTime) {
 	return
 }
 
-type Web struct {
-	ContentSecurityPolicy CSP
-	ListenAddress         string
-	Port                  int
-	BaseURL               URL
-	SentryDSN             string
-	Environment           string
-	ExtraHeadHTML         template.HTML
-	Headers               map[string]string
-}
-
-type Importer struct {
-	Sources  map[string]*Source
-	Timeout  Duration
-	UpdateAt LocalTime
-}
-
-type Config struct {
-	DataPath string
-	LogLevel slog.Level
-	Web      *Web
-	Importer *Importer
-}
-
 var nixpkgs = Repository{
 	Type:  "github",
 	Owner: "NixOS",