diff options
author | Valery Piashchynski <[email protected]> | 2021-06-05 22:26:10 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-05 22:26:10 +0300 |
commit | 908b2893728b812997f2b03244ab9b37d668fe3f (patch) | |
tree | 6bf5c4550ddd1db15940fea09fc1a79aa7611543 /pkg/pubsub | |
parent | 459e29a85fe5c8571920a602ceb8374bbb893f49 (diff) |
- Add Windows github actions
- Update tests, fix Windows issues
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/pubsub')
-rw-r--r-- | pkg/pubsub/interface.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/pubsub/interface.go b/pkg/pubsub/interface.go index 2d5d9595..eb65b4b7 100644 --- a/pkg/pubsub/interface.go +++ b/pkg/pubsub/interface.go @@ -6,7 +6,10 @@ import "github.com/spiral/roadrunner/v2/pkg/pubsub/message" This interface is in BETA. It might be changed. */ -// PubSub ... +// PubSub interface designed to implement on any storage type to provide pub-sub abilities +// Publisher used to receive messages from the PHP app via RPC +// Subscriber should be implemented to subscribe to a topics and provide a connections list per topic +// Reader return next message from the channel type PubSub interface { Publisher Subscriber |