Documentation ¶
Index ¶
Constants ¶
View Source
const PUBSUB_PROTOCOL = "/meshsub/1.1.0"
Variables ¶
This section is empty.
Functions ¶
func GetOrCreateTopic ¶ added in v0.3.0
func New ¶
Start the pubsub service. If ctx is nil a background context is used. n is the libp2p host.
func RemovePeer ¶ added in v0.3.0
Removes a peer ID from the GossipSubRouter
func SetEoughPeers ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.