diff options
author | Valery Piashchynski <[email protected]> | 2021-06-17 19:24:35 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-17 19:24:35 +0300 |
commit | 68ff941c4226074206ceed9c30bd95317aa0e9fc (patch) | |
tree | 693306256281cccefb29f4eedb7f617a9022154e /plugins/broadcast/config.go | |
parent | 25e0841c6aa5e2686da5b9f74e3d77d3814ff592 (diff) |
- Initial broadcast commit
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/broadcast/config.go')
-rw-r--r-- | plugins/broadcast/config.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/broadcast/config.go b/plugins/broadcast/config.go new file mode 100644 index 00000000..18846f30 --- /dev/null +++ b/plugins/broadcast/config.go @@ -0,0 +1,19 @@ +package broadcast + +/* +websockets: # <----- one of possible subscribers + path: /ws + broker: default # <------ broadcast broker to use --------------- | + | match +broadcast: # <-------- broadcast entry point plugin | + default: # <----------------------------------------------------- | + driver: redis + test: + driver: memory + +*/ + +// Config ... +type Config struct { + Data map[string]interface{} `mapstructure:"broadcast"` +} |