Versions in this module Expand all Collapse all v1 v1.0.0 May 28, 2019 Changes in this version + type Room struct + Done chan struct{} + ID string + IsRunning bool + func NewRoom(roomID, gamepath, gameName string, onlineStorage *storage.Client) *Room + func (r *Room) AddConnectionToRoom(peerconnection *webrtc.WebRTC, playerIndex int) + func (r *Room) CleanSession(peerconnection *webrtc.WebRTC) + func (r *Room) Close() + func (r *Room) IsPCInRoom(w *webrtc.WebRTC) bool + func (r *Room) IsRunningSessions() bool + func (r *Room) LoadGame() error + func (r *Room) SaveGame() error