package
0.0.0-20191031215043-07c3fdeef4e5
Repository: https://github.com/dialup-inc/ascii.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Lost connection with partner.
Partner left.
Error during matching.
User closed connection.
Error during connection setup.
Connection timed out.
LogLevelError is for logs that indicate problems.
LogLevelInfo is for non-urgent, informational logs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BackspaceEvent is fired when the backspace button is pressed.
ConnEndedEvent fires when the connection with your partner has been lost.
ConnStartedEvent fires when an ICE connection has been established and the call can begin.
DataOpenedEvent fires when the text chat data channel opens and the user can begin typing.
A LogEvent prints a message to the console.
No description provided by the author
No description provided by the author
SkipEvent skips to the next match.
No description provided by the author
ToggleHelpEvent toggles the help modal.
# Interfaces
An Event represents a user action that cause changes in the UI state.
# Type aliases
No description provided by the author
FrameEvent is sent when the video decoder renders a new frame.
KeypressEvent is fired when the user presses the keyboard.
LogLevel indicates the severity of a LogEvent message.
No description provided by the author
No description provided by the author
ReceivedChatEvent is fired when the user submits text in the chat input box.
ResizeEvent indicates that the terminal window's size has changed to the specified dimensions.
SentMessageEvent fires after a message has been sent to the current partner.
SetPageEvent transitions to the specified page.