diff options
author | Valery Piashchynski <[email protected]> | 2021-05-18 15:36:06 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-18 15:36:06 +0300 |
commit | f85172106b4723b705aa75c3c310e8cebd050a8d (patch) | |
tree | aa98200d5d01776d4328c31c79b8af52986a4375 /plugins/broadcast/config.go | |
parent | 60a3793f83c672e24283c009f53e780a4932be50 (diff) |
- Add protected connection
- Update arch diagram
- Update interfaces
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/broadcast/config.go')
-rw-r--r-- | plugins/broadcast/config.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/broadcast/config.go b/plugins/broadcast/config.go index 92f7951d..03bf6510 100644 --- a/plugins/broadcast/config.go +++ b/plugins/broadcast/config.go @@ -1,6 +1,22 @@ package broadcast +/* +broadcast: + ws-us-region-1: + subscriber: ws + path: "/ws" + + driver: redis + address: + - 6379 + db: 0 +*/ + + +// Config represents configuration for the ws plugin type Config struct { + // Sections represent particular broadcast plugin section + Sections map[string]interface{} `mapstructure:"sections"` } func (c *Config) InitDefaults() { |