PHP Classes

File: factory.go

Recommend this page to a friend!
  Classes of Wolfy-J   roadrunner   factory.go   Download  
File: factory.go
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: roadrunner
Run multiple tasks of PHP in parallel using Golang
Author: By
Last change:
Date: 6 years ago
Size: 287 bytes
 

Contents

Class file image Download
package roadrunner import "os/exec" // Factory is responsible of wrapping given command into tasks worker. type Factory interface { // SpawnWorker creates new worker process based on given command. // Process must not be started. SpawnWorker(cmd *exec.Cmd) (w *Worker, err error) }