Documentation ¶
Index ¶
- type CommandHelper
- func (c *CommandHelper) Kill()
- func (c *CommandHelper) NewCommand() command.Command
- func (c *CommandHelper) Start() error
- func (c *CommandHelper) StderrPipe() (io.ReadCloser, error)
- func (c *CommandHelper) StdinPipe() (io.WriteCloser, error)
- func (c *CommandHelper) StdoutPipe() (io.ReadCloser, error)
- func (c *CommandHelper) Wait() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHelper ¶
type CommandHelper struct { Requests chan *udf.Request Responses chan *udf.Response ErrC chan error // contains filtered or unexported fields }
func NewCommandHelper ¶
func NewCommandHelper() *CommandHelper
func (*CommandHelper) Kill ¶
func (c *CommandHelper) Kill()
Forcefully kill the command. This will likely cause a panic.
func (*CommandHelper) NewCommand ¶
func (c *CommandHelper) NewCommand() command.Command
func (*CommandHelper) Start ¶
func (c *CommandHelper) Start() error
func (*CommandHelper) StderrPipe ¶
func (c *CommandHelper) StderrPipe() (io.ReadCloser, error)
func (*CommandHelper) StdinPipe ¶
func (c *CommandHelper) StdinPipe() (io.WriteCloser, error)
func (*CommandHelper) StdoutPipe ¶
func (c *CommandHelper) StdoutPipe() (io.ReadCloser, error)
func (*CommandHelper) Wait ¶
func (c *CommandHelper) Wait() error
Click to show internal directories.
Click to hide internal directories.