package
0.0.0-20221228215627-937b28e1cc91
Repository: https://github.com/tf2stadium/helen.git
Documentation: pkg.go.dev

# Functions

AddSocket adds so to the list of sockets connected from steamid.
AfterDisconnectedFunc waits the duration to elapse, and if the player with the givensteamid is still disconnected, calls f in it's own goroutine.
ConnectedSockets returns the number of socket connections from steamid.
GetSockets returns a list of sockets connected from steamid.
GetSpectating returns the lobbyID of the lobby the socketID is currently spectating.ok is false if the socket is not spectating any lobby.
IsConnected returns whether the given steamid is connected to the website.
IsSpectating returns whether socketID is spectating lobbyID.
RemoveSocket removes so from the list of sockets connected from steamid.
RemoveSpectator indicates that socketID is no longer spectating the lobby it was earlier.
SetSpectator indicates that the socket with the given socketID is nowspectating lobbyID.