Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferedStdoutLog ¶
func SetDebugTarget ¶
func SetDebugTarget(buf []byte)
Types ¶
type Console ¶
type Console struct {
// Handler is the terminal command handler
Handler func(*term.Terminal)
// Term is the terminal instance
Term *term.Terminal
// Listener is the network listener
Listener net.Listener
}
Console represents an SSH console instance.
func NewScreenConsole ¶
func NewScreenConsole() *Console
New() instantiates a console on stdin/stdout.
Click to show internal directories.
Click to hide internal directories.