mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 10:57:42 +08:00
- Modified Godeps/Godeps.json by hand - [TEST] Updated welcome docs hash to sharness - [TEST] Updated contact doc - [TEST] disabled breaking test (t0080-repo refs local)
14 lines
269 B
Go
14 lines
269 B
Go
package bitswap
|
|
|
|
import (
|
|
bsnet "github.com/ipfs/go-ipfs/exchange/bitswap/network"
|
|
peer "github.com/ipfs/go-ipfs/p2p/peer"
|
|
"github.com/ipfs/go-ipfs/util/testutil"
|
|
)
|
|
|
|
type Network interface {
|
|
Adapter(testutil.Identity) bsnet.BitSwapNetwork
|
|
|
|
HasPeer(peer.ID) bool
|
|
}
|