Fix lint issues

This commit is contained in:
9seconds
2021-07-30 16:34:00 +03:00
parent c85c88efd6
commit 1050ca0b97
20 changed files with 58 additions and 57 deletions
+9 -9
View File
@@ -55,15 +55,6 @@ type ProxyOpts struct {
// This is an optional setting.
Concurrency uint
// DomainFrontingPort is a port we use to connect to a fronting
// domain.
//
// This is required because secret does not specify a port. It
// specifies a hostname only.
//
// This is an optional setting.
DomainFrontingPort uint16
// IdleTimeout is a timeout for relay when we have to break a
// stream.
//
@@ -90,6 +81,15 @@ type ProxyOpts struct {
// This is an optional setting.
PreferIP string
// DomainFrontingPort is a port we use to connect to a fronting
// domain.
//
// This is required because secret does not specify a port. It
// specifies a hostname only.
//
// This is an optional setting.
DomainFrontingPort uint
// UseTestDCs defines if we have to connect to production or to staging
// DCs of Telegram.
//