proxy/proxy.go
Function GetProxy
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func GetProxy(debug bool, logger *zap.Logger, bindPort int, bindAddress string, upstreamAddress string, upstreamPort int, bufferSize int, connTimeout time.Duration, resolveTTL time.Duration) *Proxy {