diff options
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() { |