Module service

Module service 

Source
Expand description

Social service: manages gossip, incoming connections, and friend sync.

StructsΒ§

SocialHandle
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.