mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-08 08:52:27 +02:00
Move member definition to get consistent formatting across Go versions.
This commit is contained in:
parent
0dcb9f6b2d
commit
2d73b97882
|
@ -47,11 +47,11 @@ type BackendClient struct {
|
||||||
transport *http.Transport
|
transport *http.Transport
|
||||||
version string
|
version string
|
||||||
backends *BackendConfiguration
|
backends *BackendConfiguration
|
||||||
|
clients map[string]*HttpClientPool
|
||||||
|
|
||||||
mu sync.Mutex
|
mu sync.Mutex
|
||||||
|
|
||||||
maxConcurrentRequestsPerHost int
|
maxConcurrentRequestsPerHost int
|
||||||
clients map[string]*HttpClientPool
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewBackendClient(config *goconf.ConfigFile, maxConcurrentRequestsPerHost int, version string) (*BackendClient, error) {
|
func NewBackendClient(config *goconf.ConfigFile, maxConcurrentRequestsPerHost int, version string) (*BackendClient, error) {
|
||||||
|
@ -77,9 +77,9 @@ func NewBackendClient(config *goconf.ConfigFile, maxConcurrentRequestsPerHost in
|
||||||
transport: transport,
|
transport: transport,
|
||||||
version: version,
|
version: version,
|
||||||
backends: backends,
|
backends: backends,
|
||||||
|
clients: make(map[string]*HttpClientPool),
|
||||||
|
|
||||||
maxConcurrentRequestsPerHost: maxConcurrentRequestsPerHost,
|
maxConcurrentRequestsPerHost: maxConcurrentRequestsPerHost,
|
||||||
clients: make(map[string]*HttpClientPool),
|
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue