Versions in this module Expand all Collapse all v1 v1.1.0 May 31, 2020 Changes in this version + const DefaultCloseSignal + const DefaultCloseTimeout + type Factory struct + func NewFactory(command string, argv []string, options *Options) (*Factory, error) + func (factory *Factory) Name() string + func (factory *Factory) New(params map[string][]string) (server.Slave, error) + type LocalCommand struct + func New(command string, argv []string, options ...Option) (*LocalCommand, error) + 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 func(*LocalCommand) + func WithCloseSignal(signal syscall.Signal) Option + func WithCloseTimeout(timeout time.Duration) Option + type Options struct + CloseSignal int + CloseTimeout int