diff options
author | Valery Piashchynski <[email protected]> | 2021-06-18 01:06:16 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-18 01:06:16 +0300 |
commit | fe7bb0fe758d573fe353df028257ed66c6eccf66 (patch) | |
tree | 74392f8e61e96c85f0d8b684cfc08e3fc3664ae9 /plugins/broadcast/config.go | |
parent | 68ff941c4226074206ceed9c30bd95317aa0e9fc (diff) |
- Rework main parts
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/broadcast/config.go')
-rw-r--r-- | plugins/broadcast/config.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/broadcast/config.go b/plugins/broadcast/config.go index 18846f30..4f1e5213 100644 --- a/plugins/broadcast/config.go +++ b/plugins/broadcast/config.go @@ -1,6 +1,9 @@ package broadcast /* + +# Global redis config (priority - 2) + websockets: # <----- one of possible subscribers path: /ws broker: default # <------ broadcast broker to use --------------- | @@ -8,9 +11,12 @@ websockets: # <----- one of possible subscribers broadcast: # <-------- broadcast entry point plugin | default: # <----------------------------------------------------- | driver: redis + # local redis config (priority - 1) test: driver: memory + +priority local -> global */ // Config ... |