diff options
author | Valery Piashchynski <[email protected]> | 2021-06-14 16:39:02 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-14 16:39:02 +0300 |
commit | 75ab1e16c64cfd0a6424fe4c546fdbc5e1b992dd (patch) | |
tree | 1e9a910071d20021ad0f7ef4fe6099bac6a341ef /pkg | |
parent | dc8ed203c247afd684f198ebbac103a10bfad72a (diff) |
- Rework redis with ws plugins
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/pubsub/interface.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/pubsub/interface.go b/pkg/pubsub/interface.go index 4926cad6..d021dbbe 100644 --- a/pkg/pubsub/interface.go +++ b/pkg/pubsub/interface.go @@ -44,3 +44,7 @@ type Publisher interface { type Reader interface { Next() (*websocketsv1.Message, error) } + +type PSProvider interface { + PSProvide(key string) (PubSub, error) +} |