Versions in this module Expand all Collapse all v1 v1.0.2 Dec 4, 2019 v1.0.1 Dec 4, 2019 Changes in this version + func NotifyPlaylistSubscribers(fromUser uint, playlist_id uint, message string) + func PlaylistDeleted(playlist_id uint, author_id uint) string + func PlaylistNeedRefresh(playlist_id uint, author_id uint) string + type WSPool struct + func GetWSPool() *WSPool + func (wsPool *WSPool) AddSocket(socket *WebSocket) + func (wsPool *WSPool) BroadcastMessage(authorId uint, playlistId uint, message string) + func (wsPool *WSPool) CreateWebSocket(w http.ResponseWriter, r *http.Request) *WebSocket + func (wsPool *WSPool) GetSocket(client uint) *WebSocket + func (wsPool *WSPool) RemoveSocket(socket *WebSocket) + type WebSocket struct