Versions in this module Expand all Collapse all v0 v0.29.4 Aug 12, 2023 Changes in this version + const AddressTTL + type RoutedHost struct + func Wrap(h host.Host, r Routing) *RoutedHost + func (rh *RoutedHost) Addrs() []ma.Multiaddr + func (rh *RoutedHost) Close() error + func (rh *RoutedHost) ConnManager() connmgr.ConnManager + func (rh *RoutedHost) Connect(ctx context.Context, pi peer.AddrInfo) error + func (rh *RoutedHost) EventBus() event.Bus + func (rh *RoutedHost) ID() peer.ID + func (rh *RoutedHost) Mux() protocol.Switch + func (rh *RoutedHost) Network() network.Network + func (rh *RoutedHost) NewStream(ctx context.Context, p peer.ID, pids ...protocol.ID) (network.Stream, error) + func (rh *RoutedHost) Peerstore() peerstore.Peerstore + func (rh *RoutedHost) RemoveStreamHandler(pid protocol.ID) + func (rh *RoutedHost) SetStreamHandler(pid protocol.ID, handler network.StreamHandler) + func (rh *RoutedHost) SetStreamHandlerMatch(pid protocol.ID, m func(protocol.ID) bool, handler network.StreamHandler) + type Routing interface + FindPeer func(context.Context, peer.ID) (peer.AddrInfo, error)