Versions in this module Expand all Collapse all v0 v0.2.3 Feb 27, 2015 v0.2.2 Feb 27, 2015 Changes in this version + type BasicHost struct + func New(net inet.Network, opts ...Option) *BasicHost + func (h *BasicHost) Addrs() []ma.Multiaddr + func (h *BasicHost) Close() error + func (h *BasicHost) Connect(ctx context.Context, pi peer.PeerInfo) error + func (h *BasicHost) ID() peer.ID + func (h *BasicHost) IDService() *identify.IDService + func (h *BasicHost) Mux() *protocol.Mux + func (h *BasicHost) Network() inet.Network + func (h *BasicHost) NewStream(pid protocol.ID, p peer.ID) (inet.Stream, error) + func (h *BasicHost) Peerstore() peer.Peerstore + func (h *BasicHost) RemoveStreamHandler(pid protocol.ID) + func (h *BasicHost) SetStreamHandler(pid protocol.ID, handler inet.StreamHandler) + type Option int + const NATPortMap