diff options
author | Balasankar "Balu" C <balasankarc@autistici.org> | 2021-03-01 08:58:34 +0300 |
---|---|---|
committer | Balasankar "Balu" C <balasankarc@autistici.org> | 2021-03-01 08:58:34 +0300 |
commit | 2e9503fff8dfbc34399264e28a0738eab565fe9d (patch) | |
tree | 48cee9ef470699df0f28df0b9a7ca726887f252f /main.go | |
parent | f8a1639beb6cbaf2f63f42ba362be4a4c9294a97 (diff) |
Use actual structs in Config struct instead of pointers to them
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ func createAppListeners(config *cfg.Config) []io.Closer { httpsProxyv2Listeners = append(httpsProxyv2Listeners, f.Fd()) } - config.Listeners = &cfg.Listeners{ + config.Listeners = cfg.Listeners{ HTTP: httpListeners, HTTPS: httpsListeners, Proxy: proxyListeners, |