Update config with server configuration

This commit is contained in:
Bilal
2020-05-08 10:41:49 +02:00
parent 6d626ccecc
commit 9a2425d245
2 changed files with 60 additions and 13 deletions

View File

@@ -21,6 +21,18 @@ type ProxyServer struct {
Address string
}
type WebServerConfig struct {
Address string
APIKey string
Timeout int // In seconds
}
type WorkerServerConfig struct {
Address string
WorkersCount int
RequestMessagePrefix string
}
type ClientConfig struct {
ConnectionsCount int
ConnectionTimeout int // In seconds