# Packages
No description provided by the author
# Functions
CreateAttachHandler is called from main for /api/sockjs.
No description provided by the author
WaitForTerminal is called from apihandler.handleAttach as a goroutine Waits for the SockJS connection to be opened by the client the session to be bound in handleTerminalSession.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
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
SessionMap stores a map of all TerminalSession objects and a lock to avoid concurrent conflict.
No description provided by the author
TerminalMessage is the messaging protocol between ShellController and TerminalSession.
TerminalSession implements PtyHandler (using a SockJS connection).
No description provided by the author
No description provided by the author
# Interfaces
PtyHandler is what remotecommand expects from a pty.
No description provided by the author