Module api

Module api 

Source
Available on crate features net or rpc only.
Expand description

Public API for using iroh-gossip

The API is usable both locally and over RPC.

Structs§

GossipApi
API to control a Gossip instance.
GossipReceiver
Receiver for gossip events on a topic.
GossipSender
Sender for a gossip topic.
GossipTopic
Subscribed gossip topic.
JoinOptions
Options for joining a gossip topic.
Message
A gossip message

Enums§

ApiError
Command
Command for a gossip topic.
Event
Events emitted from a gossip topic.