Versions in this module Expand all Collapse all v0 v0.7.6 Jun 15, 2024 Changes in this version + const RemoteInputQueueSize + const WSStatePacketChSize + var RemoteInputMapQueue *mapqueue.MapQueue + type WSState struct + AuthKey string + Authenticated bool + ClientId string + ConnectTime time.Time + Lock *sync.Mutex + ScreenId string + SessionId string + Shell *wsshell.WSShell + UpdateCh chan scbus.UpdatePacket + UpdateQueue []any + func MakeWSState(clientId string, authKey string) *WSState + func (ws *WSState) GetConnectTime() time.Time + func (ws *WSState) GetShell() *wsshell.WSShell + func (ws *WSState) IsAuthenticated() bool + func (ws *WSState) ReplaceShell(shell *wsshell.WSShell) + func (ws *WSState) RunUpdates(updateCh chan scbus.UpdatePacket) + func (ws *WSState) RunWSRead() + func (ws *WSState) SetAuthenticated(authVal bool) + func (ws *WSState) UnWatchScreen() + func (ws *WSState) UpdateConnectTime() + func (ws *WSState) WatchScreen(sessionId string, screenId string) + func (ws *WSState) WriteUpdate(update any) error