summaryrefslogtreecommitdiff
path: root/controller.go
diff options
context:
space:
mode:
Diffstat (limited to 'controller.go')
-rw-r--r--controller.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/controller.go b/controller.go
index bda7ad6b..020ea4dd 100644
--- a/controller.go
+++ b/controller.go
@@ -8,3 +8,9 @@ type Controller interface {
// Detach pool watching.
Detach()
}
+
+// Attacher defines the ability to attach rr controller.
+type Attacher interface {
+ // Attach attaches controller to the service.
+ Attach(c Controller)
+} \ No newline at end of file