diff options
Diffstat (limited to 'pkg/pubsub')
-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) +} |