Versions in this module Expand all Collapse all v0 v0.5.5 Apr 30, 2020 v0.5.4 Apr 30, 2020 Changes in this version + var AcceptTimeout = 60 * time.Second + var DialTimeout = 60 * time.Second + type CapableConn interface + Transport func() Transport + type Listener interface + Accept func() (CapableConn, error) + Addr func() net.Addr + Close func() error + Multiaddr func() ma.Multiaddr + type Transport interface + CanDial func(addr ma.Multiaddr) bool + Dial func(ctx context.Context, raddr ma.Multiaddr, p peer.ID) (CapableConn, error) + Listen func(laddr ma.Multiaddr) (Listener, error) + Protocols func() []int + Proxy func() bool + type TransportNetwork interface + AddTransport func(t Transport) error