Documentation ¶
Overview ¶
Deprecated: use github.com/libp2p/go-libp2p-testing and subpackages instead.
Index ¶
- Variables
- func NewSeededRand(seed int64) *rand.Randdeprecated
- func RandLocalTCPAddress() ma.Multiaddrdeprecated
- func RandPeerID() (peer.ID, error)deprecated
- func RandPeerIDFatal(t testing.TB) peer.IDdeprecated
- func RandTestKeyPair(bits int) (ci.PrivKey, ci.PubKey, error)deprecated
- func SeededTestKeyPair(seed int64) (ci.PrivKey, ci.PubKey, error)deprecated
- func WaitFor(ctx context.Context, check func() error) errordeprecated
- type Identitydeprecated
- type LatencyConfigdeprecated
- type LockedRandSourcedeprecated
- type PeerNetParamsdeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var SeededRand = tetc.SeededRand
Deprecated: use github.com/libp2p/go-libp2p-testing/etc.SeededRand instead.
Functions ¶
func NewSeededRand
deprecated
func RandLocalTCPAddress
deprecated
func RandPeerID
deprecated
func RandPeerIDFatal
deprecated
Types ¶
type Identity
deprecated
type Identity = tnet.Identity
Deprecated: use github.com/libp2p/go-libp2p-testing/net.Identity instead.
func RandIdentity
deprecated
func RandIdentityOrFatal
deprecated
type LatencyConfig
deprecated
type LatencyConfig = tnet.LatencyConfig
Deprecated: use github.com/libp2p/go-libp2p-testing/net.LatencyConfig instead.
type LockedRandSource
deprecated
type LockedRandSource = tetc.LockedRandSource
Deprecated: use github.com/libp2p/go-libp2p-testing/etc.LockedRandSource instead.
type PeerNetParams
deprecated
type PeerNetParams = tnet.PeerNetParams
Deprecated: use github.com/libp2p/go-libp2p-testing/net.PeerNetParams instead.
func RandPeerNetParams
deprecated
func RandPeerNetParams() (*PeerNetParams, error)
Deprecated: use github.com/libp2p/go-libp2p-testing/net.RandPeerNetParams instead.
func RandPeerNetParamsOrFatal
deprecated
func RandPeerNetParamsOrFatal(t *testing.T) PeerNetParams
Deprecated: use github.com/libp2p/go-libp2p-testing/net.RandPeerNetParamsOrFatal instead.
Directories ¶
Path | Synopsis |
---|---|
Deprecated: use github.com/libp2p/go-libp2p-testing/ci instead.
|
Deprecated: use github.com/libp2p/go-libp2p-testing/ci instead. |
travis
Deprecated: use github.com/libp2p/go-libp2p-testing/ci/travis instead.
|
Deprecated: use github.com/libp2p/go-libp2p-testing/ci/travis instead. |
Click to show internal directories.
Click to hide internal directories.