Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network interface { Adapter(testutil.Identity) bsnet.BitSwapNetwork HasPeer(peer.ID) bool }
func StreamNet ¶
func StreamNet(ctx context.Context, net mockpeernet.Mocknet, rs mockrouting.Server) (Network, error)
func VirtualNetwork ¶
func VirtualNetwork(rs mockrouting.Server, d delay.D) Network
Click to show internal directories.
Click to hide internal directories.