Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPipeFactory ¶
NewPipeFactory returns new factory instance and starts listening
Types ¶
type Factory ¶
type Factory struct{}
Factory connects to stack using standard streams (STDIN, STDOUT pipes).
func (*Factory) SpawnWorker ¶
func (f *Factory) SpawnWorker(cmd *exec.Cmd, listeners ...events.EventListener) (worker.BaseProcess, error)
func (*Factory) SpawnWorkerWithTimeout ¶
func (f *Factory) SpawnWorkerWithTimeout(ctx context.Context, cmd *exec.Cmd, listeners ...events.EventListener) (worker.BaseProcess, error)
SpawnWorker creates new Process and connects it to goridge relay, method Wait() must be handled on level above.
type SpawnResult ¶
type SpawnResult struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.