summaryrefslogtreecommitdiff
path: root/plugins/channel/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/channel/interface.go')
-rw-r--r--plugins/channel/interface.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/channel/interface.go b/plugins/channel/interface.go
new file mode 100644
index 00000000..9a405e89
--- /dev/null
+++ b/plugins/channel/interface.go
@@ -0,0 +1,8 @@
+package channel
+
+// Hub used as a channel between two or more plugins
+// this is not a PUBLIC plugin, API might be changed at any moment
+type Hub interface {
+ SendCh() chan interface{}
+ ReceiveCh() chan interface{}
+}