Maintenance: add revive linter

This commit is contained in:
Quentin McGaw (desktop)
2021-06-20 16:12:39 +00:00
parent d3c63680e8
commit 400affe429
16 changed files with 44 additions and 34 deletions

View File

@@ -25,6 +25,7 @@ var (
ErrBindPort = errors.New("cannot bind port")
)
// PortForward obtains a VPN server side port forwarded from PIA.
//nolint:gocognit
func (p *PIA) PortForward(ctx context.Context, client *http.Client,
openFile os.OpenFileFunc, logger logging.Logger, gateway net.IP, fw firewall.Configurator,