diff options
| author | historia <[not public]> | 2026-06-30 04:43:54 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-30 04:43:54 -0400 |
| commit | 98bdef072c843fdd8ccdf85a9b54ab9d32d34187 (patch) | |
| tree | d4c5c4955ba8e02e895ae0713a2c3439bc93868a /internal/config | |
| parent | 712072209ab5e3b3a14ebc0c770b020afe544560 (diff) | |
| download | thehouseoficarus-98bdef072c843fdd8ccdf85a9b54ab9d32d34187.tar.gz | |
slop refactor
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/config.go | 10 |
1 files changed, 10 insertions, 0 deletions
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, |
