summaryrefslogtreecommitdiff
path: root/plugins/broadcast/config.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-18 15:36:06 +0300
committerValery Piashchynski <[email protected]>2021-05-18 15:36:06 +0300
commitf85172106b4723b705aa75c3c310e8cebd050a8d (patch)
treeaa98200d5d01776d4328c31c79b8af52986a4375 /plugins/broadcast/config.go
parent60a3793f83c672e24283c009f53e780a4932be50 (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.go16
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() {