Documentation ¶
Index ¶
- type LogConfig
- type Options
- type ProbojProcess
- func (pp *ProbojProcess) AsyncRead() <-chan ReadResult
- func (pp *ProbojProcess) AsyncWrite(data string) <-chan error
- func (pp *ProbojProcess) Read() (string, error)
- func (pp *ProbojProcess) WaitForEnd()
- func (pp *ProbojProcess) Write(data string) error
- func (pp *ProbojProcess) WriteLog(data string) error
- type Process
- type ReadResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProbojProcess ¶
type ProbojProcess struct { *Process // contains filtered or unexported fields }
func NewProbojProcess ¶
func NewProbojProcess(command string, dir string, logConfig LogConfig) (pp ProbojProcess, err error)
func (*ProbojProcess) AsyncRead ¶
func (pp *ProbojProcess) AsyncRead() <-chan ReadResult
func (*ProbojProcess) AsyncWrite ¶
func (pp *ProbojProcess) AsyncWrite(data string) <-chan error
func (*ProbojProcess) Read ¶
func (pp *ProbojProcess) Read() (string, error)
func (*ProbojProcess) WaitForEnd ¶
func (pp *ProbojProcess) WaitForEnd()
func (*ProbojProcess) Write ¶
func (pp *ProbojProcess) Write(data string) error
func (*ProbojProcess) WriteLog ¶
func (pp *ProbojProcess) WriteLog(data string) error
type Process ¶
type Process struct { Stdin io.WriteCloser Stdout io.ReadCloser Stderr io.ReadCloser Exit int Error error // contains filtered or unexported fields }
func NewProcess ¶
type ReadResult ¶
Click to show internal directories.
Click to hide internal directories.