utils

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Subtests = ttransport.Subtests

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.Subtests instead.

Functions

func SubtestBasic deprecated

func SubtestBasic(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestBasic instead.

func SubtestCancel deprecated

func SubtestCancel(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestCancel instead.

func SubtestPingPong deprecated

func SubtestPingPong(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestPingPong instead.

func SubtestProtocols deprecated

func SubtestProtocols(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestProtocols instead.

func SubtestStreamOpenStress deprecated

func SubtestStreamOpenStress(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStreamOpenStress instead.

func SubtestStreamReset deprecated

func SubtestStreamReset(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStreamReset instead.

func SubtestStress deprecated

func SubtestStress(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID, opt Options)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStress instead.

func SubtestStress1Conn1000Stream10Msg deprecated

func SubtestStress1Conn1000Stream10Msg(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStress1Conn1000Stream10Msg instead.

func SubtestStress1Conn100Stream100Msg deprecated

func SubtestStress1Conn100Stream100Msg(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStress1Conn100Stream100Msg instead.

func SubtestStress1Conn100Stream100Msg10MB deprecated

func SubtestStress1Conn100Stream100Msg10MB(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStress1Conn100Stream100Msg10MB instead.

func SubtestStress1Conn1Stream100Msg deprecated

func SubtestStress1Conn1Stream100Msg(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStress1Conn1Stream100Msg instead.

func SubtestStress1Conn1Stream1Msg deprecated

func SubtestStress1Conn1Stream1Msg(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStress1Conn1Stream1Msg instead.

func SubtestStress50Conn10Stream50Msg deprecated

func SubtestStress50Conn10Stream50Msg(t *testing.T, ta, tb transport.Transport, maddr ma.Multiaddr, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStress50Conn10Stream50Msg instead.

func SubtestTransport deprecated

func SubtestTransport(t *testing.T, ta, tb transport.Transport, addr string, peerA peer.ID)

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.SubtestTransport instead.

Types

type Options deprecated

type Options = ttransport.Options

Deprecated: use github.com/libp2p/go-libp2p-testing/suites/transport.Options instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL