Update config with server configuration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user