Skip to main content

Crate nostro2_ring_relay

Crate nostro2_ring_relay 

Source

Structs§

PoolConsumer
Consumer side of the pool - reads events from all relays in a single thread
PoolSender
Sender handle for broadcasting messages to all connected relays.
RelayConnection
Handle to a relay WebSocket connection running in its own thread.
RelayPool
The relay pool — manages multiple WebSocket connections with bidirectional messaging.

Enums§

PoolMessage
Messages that flow through the ring buffer from relay threads to consumer

Functions§

create_pool
Helper function to create a new pool and producer for spawning connections