Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASUser ¶
ASUser contains the required Information for a User managed by the Appservice and holds a Matrix Client
type BotUser ¶
type BotUser struct { Mxid string TwitchName string TwitchToken string Mux sync.Mutex MXClient *gomatrix.Client }
BotUser contains the required Information for a Bot User and holds a Matrix Client as well as a Websocket for twitch that listens to the Channels
type RealUser ¶
type RealUser struct { Mxid string TwitchName string TwitchTokenStruct *oauth2.Token TwitchHTTPClient *http.Client TwitchWS websocket.WebsocketHolder // Room holds a ID of a room with the Real User and the Bot Room string Mux sync.Mutex }
RealUser contains the required Information for a Real User and holds a Matrix Client as well as a Websocket for twitch that allows to send messages to twitch
Click to show internal directories.
Click to hide internal directories.