Cosmetic changes applied by

This commit is contained in:
Bryan Boreham committed 2014-12-01 16:51:16 +00:00
1 parent ba2c27b9fe
commit 4eeeabcf56
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1,8 +1,8 @@
package router
import (
"time"
"math"
"time"
)
const (
+3 -3
View File
@@ -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