mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-23 07:08:24 +00:00
cmd/relaysrv: Fix lint warnings
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3274
This commit is contained in:
parent
343dc486e0
commit
4a69f3987f
@ -47,14 +47,14 @@ func init() {
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
listen string
|
listen string
|
||||||
debug bool = false
|
debug bool
|
||||||
|
|
||||||
sessionAddress []byte
|
sessionAddress []byte
|
||||||
sessionPort uint16
|
sessionPort uint16
|
||||||
|
|
||||||
networkTimeout time.Duration = 2 * time.Minute
|
networkTimeout = 2 * time.Minute
|
||||||
pingInterval time.Duration = time.Minute
|
pingInterval = time.Minute
|
||||||
messageTimeout time.Duration = time.Minute
|
messageTimeout = time.Minute
|
||||||
|
|
||||||
limitCheckTimer *time.Timer
|
limitCheckTimer *time.Timer
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ var (
|
|||||||
poolAddrs string
|
poolAddrs string
|
||||||
pools []string
|
pools []string
|
||||||
providedBy string
|
providedBy string
|
||||||
defaultPoolAddrs string = "https://relays.syncthing.net/endpoint"
|
defaultPoolAddrs = "https://relays.syncthing.net/endpoint"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user