added flexible socket/tcp listen

This commit is contained in:
2023-12-14 17:18:38 +01:00
parent 908fa9b2e5
commit 5bbf0add35
2 changed files with 63 additions and 1 deletions

View File

@@ -8,4 +8,17 @@ type Conf struct {
Logging struct {
Level string
}
Httpd struct {
CORSAllowDomains []string `yaml:"cors_allow_domains"`
Listen []struct {
Socket string
Host string
Port int
}
Timeout struct {
Read int
Write int
Idle int
}
}
}