From 4eeeabcf5659d12ca46c918f7c4f41853bed51ea Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 1 Dec 2014 16:51:16 +0000 Subject: [PATCH] Cosmetic changes applied by --- router/consts.go | 2 +- router/types.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/router/consts.go b/router/consts.go index 02a93edf..ae9fa46b 100644 --- a/router/consts.go +++ b/router/consts.go @@ -1,8 +1,8 @@ package router import ( - "time" "math" + "time" ) const ( diff --git a/router/types.go b/router/types.go index 5cfd51e0..332669f2 100644 --- a/router/types.go +++ b/router/types.go @@ -173,9 +173,9 @@ type ConnectionState int // Information about an address where we may find a peer type Target struct { - attempting bool // are we currently attempting to connect there? - tryAfter time.Time // next time to try this address - tryInterval time.Duration // backoff time on next failure + attempting bool // are we currently attempting to connect there? + tryAfter time.Time // next time to try this address + tryInterval time.Duration // backoff time on next failure } // UDPSender interface and implementations