Versions in this module Expand all Collapse all v0 v0.0.2 Jan 24, 2020 v0.0.1 Jan 24, 2020 Changes in this version + type Bus interface + Emitter func(eventType interface{}, opts ...EmitterOpt) (Emitter, error) + Subscribe func(eventType interface{}, opts ...SubscriptionOpt) (Subscription, error) + type CancelFunc = func() + type Emitter interface + Emit func(evt interface{}) error + type EmitterOpt = func(interface{}) error + type EvtLocalProtocolsUpdated struct + Added []protocol.ID + Removed []protocol.ID + type EvtLocalRoutabilityPrivate struct + type EvtLocalRoutabilityPublic struct + type EvtLocalRoutabilityUnknown struct + type EvtPeerIdentificationCompleted struct + Peer peer.ID + type EvtPeerIdentificationFailed struct + Peer peer.ID + Reason error + type EvtPeerProtocolsUpdated struct + Added []protocol.ID + Peer peer.ID + Removed []protocol.ID + type Subscription interface + Out func() <-chan interface{} + type SubscriptionOpt = func(interface{}) error