Expand description
Social service: manages gossip, incoming connections, and friend sync.
StructsΒ§
- Social
Handle - Handle for interacting with the social service from HTTP handlers.
FunctionsΒ§
- fugue_
topic π - A well-known topic ID for the Fugue social network.
- handle_
connection π - handle_
gossip_ πmessage - handle_
playlist_ πop - Handle a collaborative playlist operation received via gossip. Checks the senderβs role before applying write operations.
- refresh_
friend_ πaddresses - Re-read friends from DB and register any new addresses with the endpoint.
- start
- Start the social P2P service.
- stream_
from_ πbackend_ for_ peer - Stream content (audio or cover art) from our backend to a requesting peer. Writes directly to the QUIC send stream to avoid buffering.