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 package router
import ( import (
"time"
"math" "math"
"time"
) )
const ( const (
+3 -3
View File
@@ -173,9 +173,9 @@ type ConnectionState int
// Information about an address where we may find a peer // Information about an address where we may find a peer
type Target struct { type Target struct {
attempting bool // are we currently attempting to connect there? attempting bool // are we currently attempting to connect there?
tryAfter time.Time // next time to try this address tryAfter time.Time // next time to try this address
tryInterval time.Duration // backoff time on next failure tryInterval time.Duration // backoff time on next failure
} }
// UDPSender interface and implementations // UDPSender interface and implementations