summaryrefslogtreecommitdiff
path: root/pkg/interface/broadcast/broadcast.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-17 19:24:35 +0300
committerValery Piashchynski <[email protected]>2021-06-17 19:24:35 +0300
commit68ff941c4226074206ceed9c30bd95317aa0e9fc (patch)
tree693306256281cccefb29f4eedb7f617a9022154e /pkg/interface/broadcast/broadcast.go
parent25e0841c6aa5e2686da5b9f74e3d77d3814ff592 (diff)
- Initial broadcast commit
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/interface/broadcast/broadcast.go')
-rw-r--r--pkg/interface/broadcast/broadcast.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/interface/broadcast/broadcast.go b/pkg/interface/broadcast/broadcast.go
new file mode 100644
index 00000000..c922c82e
--- /dev/null
+++ b/pkg/interface/broadcast/broadcast.go
@@ -0,0 +1,7 @@
+package broadcast
+
+import "github.com/spiral/roadrunner/v2/pkg/pubsub"
+
+type Broadcaster interface {
+ GetDriver(key string) pubsub.SubReader
+}