cachedcommand

package
v0.0.0-...-141bb29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachProcess

func AttachProcess(name string, command *exec.Cmd) (err error)

Types

type CachedCommand

type CachedCommand struct {
	Pty pty.Pty
	// contains filtered or unexported fields
}

func New

func New(name string) (c *CachedCommand, err error)

func (*CachedCommand) Close

func (c *CachedCommand) Close() error

func (*CachedCommand) Read

func (c *CachedCommand) Read(p []byte) (n int, err error)

func (*CachedCommand) ResizeTerminal

func (c *CachedCommand) ResizeTerminal(columns int, rows int) error

ResizeTerminal sets a new size of the terminal.

func (*CachedCommand) WindowTitleVariables

func (c *CachedCommand) WindowTitleVariables() map[string]interface{}

func (*CachedCommand) Write

func (c *CachedCommand) Write(p []byte) (n int, err error)

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

func NewFactory

func NewFactory(name string) (*Factory, error)

func (*Factory) Name

func (factory *Factory) Name() string

func (*Factory) New

func (factory *Factory) New(params map[string][]string) (server.Slave, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL