mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-02 22:03:09 +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
|
||||
version string
|
||||
backends *BackendConfiguration
|
||||
clients map[string]*HttpClientPool
|
||||
|
||||
mu sync.Mutex
|
||||
|
||||
maxConcurrentRequestsPerHost int
|
||||
clients map[string]*HttpClientPool
|
||||
}
|
||||
|
||||
func NewBackendClient(config *goconf.ConfigFile, maxConcurrentRequestsPerHost int, version string) (*BackendClient, error) {
|
||||
|
@ -77,9 +77,9 @@ func NewBackendClient(config *goconf.ConfigFile, maxConcurrentRequestsPerHost in
|
|||
transport: transport,
|
||||
version: version,
|
||||
backends: backends,
|
||||
clients: make(map[string]*HttpClientPool),
|
||||
|
||||
maxConcurrentRequestsPerHost: maxConcurrentRequestsPerHost,
|
||||
clients: make(map[string]*HttpClientPool),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue