package
0.0.0-20250123052154-7ce46f9ccef6
Repository: https://github.com/m0hammadusman/letschat.git
Documentation: pkg.go.dev

# Functions

No description provided by the author

# Structs

Broadcaster reads from one chan and writes to many subscribed chans, Subscribe will return a token, and a receive-only chan for reads, Unsubscribe must be called with the token to close the subscription, if not called, the system will not shut down gracefully Broadcast must be called in a separate long-running goroutine, this will not return even if there are no subscribers to relay msgs to, Broadcast will only return once shutdown is initiated.