package
0.9.0
Repository: https://github.com/waku-org/go-waku.git
Documentation: pkg.go.dev

# Packages

Package gowaku implements gomobile bindings for go-waku.

# Functions

AddPeer adds a node multiaddress and protocol to the wakunode peerstore.
Connect is used to connect to a peer at multiaddress.
ConnectPeerID is usedd to connect to a known peer by peerID.
ContentTopic creates a content topic string according to RFC 23.
DecodeAsymmetric decodes a waku message using a secp256k1 private key.
DecodeSymmetric decodes a waku message using a 32 bytes symmetric key.
DefaultPubsubTopic returns the default pubsub topic used in waku2: /waku/2/default-waku/proto.
Disconnect closes a connection to a known peer by peerID.
DNSDiscovery executes dns discovery on an url and returns a list of nodes.
No description provided by the author
No description provided by the author
FilterPing is used to determine if a peer has an active subscription.
FilterSubscribe is used to create a subscription to a filter node to receive messages.
FilterUnsubscribe is used to remove a filter criteria from an active subscription with a filter node.
FilterUnsubscribeAll is used to remove an active subscription to a peer.
IsStarted is used to determine is a node is started or not.
LegacyFilterSubscribe is used to create a subscription to a filter node to receive messages Deprecated: Use FilterSubscribe instead.
LegacyFilterUnsubscribe is used to remove a filter criteria from an active subscription with a filter node Deprecated: Use FilterUnsubscribe or FilterUnsubscribeAll instead.
LightpushPublish is used to publish a WakuMessage in a pubsub topic using Lightpush protocol.
ListenAddresses returns the multiaddresses the wakunode is listening to.
NewNode initializes a waku node.
PeerCnt returns the number of connected peers.
PeerID is used to obtain the peer ID of the waku node.
Peers retrieves the list of peers known by the waku node.
RelayEnoughPeers determines if there are enough peers to publish a message on a topic.
RelayPublish publishes a message using waku relay and returns the message ID.
RelaySubscribe subscribes to a WakuRelay topic.
RelayTopics returns a list of pubsub topics the node is subscribed to in WakuRelay.
RelayUnsubscribe closes the pubsub subscription to a pubsub topic.
SetBootnodes is used to update the bootnodes receiving a JSON array of ENRs.
Start starts the waku node.
StartDiscoveryV5 starts discv5 discovery.
Stop stops a waku node.
StopDiscoveryV5 stops discv5 discovery.

# Structs

GossipSubParams defines all the gossipsub specific parameters.
WakuConfig contains all the configuration settings exposed to users of mobile and c libraries.
WakuState represents the state of the waku node.
WebsocketConfig contains all the settings required to setup websocket support in waku.