Cosmetic changes applied by
This commit is contained in:
1 parent
ba2c27b9fe
commit
4eeeabcf56
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -1,8 +1,8 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"time"
|
||||
"math"
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user