Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanupEvent ¶
type RoomManager ¶
type WSS ¶
type WSS struct {
// contains filtered or unexported fields
}
func NewWSS ¶
func NewWSS(rooms RoomManager) *WSS
func (*WSS) HandleRoom ¶
func (*WSS) HandleRoomWithCleanup ¶
func (wss *WSS) HandleRoomWithCleanup(w http.ResponseWriter, r *http.Request, handleMessage func(RoomEvent), cleanup func(CleanupEvent))
Click to show internal directories.
Click to hide internal directories.