summaryrefslogtreecommitdiff
path: root/plugins/broadcast/websockets/rpc.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/broadcast/websockets/rpc.go')
-rw-r--r--plugins/broadcast/websockets/rpc.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/broadcast/websockets/rpc.go b/plugins/broadcast/websockets/rpc.go
deleted file mode 100644
index 1c62b902..00000000
--- a/plugins/broadcast/websockets/rpc.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package websockets
-
-type rpcService struct {
- svc *Service
-}
-
-// Subscribe subscribes broadcast client to the given topic ahead of any websocket connections.
-func (r *rpcService) Subscribe(topic string, ok *bool) error {
- *ok = true
- return r.svc.client.Subscribe(topic)
-}
-
-// SubscribePattern subscribes broadcast client to
-func (r *rpcService) SubscribePattern(pattern string, ok *bool) error {
- *ok = true
- return r.svc.client.SubscribePattern(pattern)
-}