Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BIND fe->be sessionID Id sent back from TerminalResponse BIND = iota // 0 // STDIN fe->be Data Keystrokes/paste buffer STDIN // 1 // STDOUT be->fe Data Output from the process STDOUT // 2 // RESIZE fe->be Rows, Cols New terminal size RESIZE // 3 // TOAST be->fe Data OOB message to be shown to the user TOAST // 4 // INEXIT INEXIT // 5 // OUTEXIT OUTEXIT // 6 )
View Source
const EndOfTransmission = "\u0004"
EndOfTransmission terminal end of
Variables ¶
This section is empty.
Functions ¶
func HandleTerminalSession ¶
func NewShellServer ¶
Types ¶
type PtyHandler ¶
type PtyHandler interface { io.Reader io.Writer remotecommand.TerminalSizeQueue }
PtyHandler is what remotecommand expects from a pty
Click to show internal directories.
Click to hide internal directories.