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