Documentation ¶
Overview ¶
Package localcommand provides an implementation of webtty.Slave that launches a local command with a PTY.
Index ¶
- Constants
- type Factory
- type LocalCommand
- func (lcmd *LocalCommand) Close() error
- func (lcmd *LocalCommand) Read(p []byte) (n int, err error)
- func (lcmd *LocalCommand) ResizeTerminal(width int, height int) error
- func (lcmd *LocalCommand) WindowTitleVariables() map[string]interface{}
- func (lcmd *LocalCommand) Write(p []byte) (n int, err error)
- type Option
- type Options
Constants ¶
View Source
const ( DefaultCloseSignal = syscall.SIGINT DefaultCloseTimeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalCommand ¶
type LocalCommand struct {
// contains filtered or unexported fields
}
func (*LocalCommand) Close ¶
func (lcmd *LocalCommand) Close() error
func (*LocalCommand) ResizeTerminal ¶
func (lcmd *LocalCommand) ResizeTerminal(width int, height int) error
func (*LocalCommand) WindowTitleVariables ¶
func (lcmd *LocalCommand) WindowTitleVariables() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.