added multiple listener, socket and tcp

This commit is contained in:
2021-10-05 17:15:36 +02:00
parent c0b8de24f7
commit a692a3417f
6 changed files with 49 additions and 18 deletions

View File

@@ -36,6 +36,11 @@ type Conf struct {
}
Httpd struct {
CORSAllowDomains string `yaml:"cors_allow_domains"`
Listen []struct {
Socket string
Host string
Port int
}
}
}