diff options
Diffstat (limited to 'controller.go')
-rw-r--r-- | controller.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/controller.go b/controller.go deleted file mode 100644 index 2079f052..00000000 --- a/controller.go +++ /dev/null @@ -1,16 +0,0 @@ -package roadrunner - -// Controller observes pool state and decides if any worker must be destroyed. -type Controller interface { - // Lock controller on given pool instance. - Attach(p Pool) Controller - - // Detach pool watching. - Detach() -} - -// Attacher defines the ability to attach rr controller. -type Attacher interface { - // Attach attaches controller to the service. - Attach(c Controller) -} |