summaryrefslogtreecommitdiff
path: root/factory.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-05 22:48:27 +0300
committerWolfy-J <[email protected]>2018-06-05 22:48:27 +0300
commit6adaf713b47c9a3ab3a516e21d2d4ecf7f2075d6 (patch)
tree6bcf1bfea1e2f87a3ae7065612c0df43c90c1cdc /factory.go
parent3112f9b58c73773cea972fd79f04d33f8f7d7edd (diff)
breaking the tests
Diffstat (limited to 'factory.go')
-rw-r--r--factory.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/factory.go b/factory.go
index 73896406..7d20016c 100644
--- a/factory.go
+++ b/factory.go
@@ -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
}