1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-12 16:11:24 +08:00

Address PR comments and add in more user feedback

This commit is contained in:
Jeromy
2015-01-09 19:04:13 +00:00
parent 0794d5b46a
commit 566a86f5d4
5 changed files with 47 additions and 24 deletions

View File

@ -3,6 +3,7 @@ package routing
import (
"errors"
"time"
context "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
@ -38,5 +39,5 @@ type IpfsRouting interface {
FindPeer(context.Context, peer.ID) (peer.PeerInfo, error)
// Ping a peer, log the time it took
Ping(context.Context, peer.ID) error
Ping(context.Context, peer.ID) (time.Duration, error)
}