diff options
Diffstat (limited to 'factory.go')
-rw-r--r-- | factory.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,4 +7,7 @@ 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) + + // Close the factory and underlying connections. + Close() error } |