diff options
author | Jakob Borg <jakob@nym.se> | 2016-06-07 07:31:43 +0000 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2016-06-07 07:31:43 +0000 |
commit | 4a69f3987f81497513f9ea9f5ae75a17372c0c2b (patch) | |
tree | 264400d033fb00a70fb691b779a2107043f9295b | |
parent | 343dc486e0c030434011ac98376a572c4e50221a (diff) |
cmd/relaysrv: Fix lint warnings
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3274
-rw-r--r-- | cmd/relaysrv/main.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd/relaysrv/main.go b/cmd/relaysrv/main.go index 00747ce9b..ed9463b71 100644 --- a/cmd/relaysrv/main.go +++ b/cmd/relaysrv/main.go @@ -47,14 +47,14 @@ func init() { var ( listen string - debug bool = false + debug bool sessionAddress []byte sessionPort uint16 - networkTimeout time.Duration = 2 * time.Minute - pingInterval time.Duration = time.Minute - messageTimeout time.Duration = time.Minute + networkTimeout = 2 * time.Minute + pingInterval = time.Minute + messageTimeout = time.Minute limitCheckTimer *time.Timer @@ -69,7 +69,7 @@ var ( poolAddrs string pools []string providedBy string - defaultPoolAddrs string = "https://relays.syncthing.net/endpoint" + defaultPoolAddrs = "https://relays.syncthing.net/endpoint" ) func main() { |