This website requires JavaScript.
Explore
Help
Sign In
Arav
/
dwelling-radio
Watch
1
Star
0
Fork
0
You've already forked dwelling-radio
Code
Releases
25
Activity
d94c029fda
dwelling-radio
/
internal
/
radio
History
Alexander "Arav" Andreev
d94c029fda
In ListenerCounter struct also keep track of overall number of listeners for a song and its max simultaneous number of listeners. These parameters are being reset with a Reset() method that returns its values.
2024-05-11 04:21:00 +04:00
..
listener_counter.go
In ListenerCounter struct also keep track of overall number of listeners for a song and its max simultaneous number of listeners. These parameters are being reset with a Reset() method that returns its values.
2024-05-11 04:21:00 +04:00
playlist.go
Let's actually hide RWMutex's methods to clean a namespace.
2023-10-09 00:21:44 +04:00
song.go
Do not alter Song struct listeners with its methods, use a ListenerCounter to populate Listeners and MaxListeners. Eliminates the need for a mutex and SetFrom(), UpdateMaxListeners() and IncListeners() methods.
2024-05-11 04:18:28 +04:00