From 98bdef072c843fdd8ccdf85a9b54ab9d32d34187 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 30 Jun 2026 04:43:54 -0400 Subject: slop refactor --- internal/config/config.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'internal/config') diff --git a/internal/config/config.go b/internal/config/config.go index 40f4891..9505cbb 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -16,6 +16,7 @@ type Config struct { TelnetTLS TelnetTLSConfig `yaml:"telnet_tls"` HTTP HTTPConfig `yaml:"http"` HTTPS HTTPSConfig `yaml:"https"` + AdminHTTP AdminHTTPConfig `yaml:"admin_http"` AdminHTTPS AdminHTTPSConfig `yaml:"admin_https"` } @@ -99,6 +100,11 @@ type HTTPSConfig struct { Port int `yaml:"port"` } +type AdminHTTPConfig struct { + Enabled bool `yaml:"enabled"` + Port int `yaml:"port"` +} + type AdminHTTPSConfig struct { Enabled bool `yaml:"enabled"` Port int `yaml:"port"` @@ -133,6 +139,10 @@ func Default() *Config { Enabled: false, Port: 8443, }, + AdminHTTP: AdminHTTPConfig{ + Enabled: false, + Port: 9091, + }, AdminHTTPS: AdminHTTPSConfig{ Enabled: false, Port: 9090, -- cgit v1.2.3