summaryrefslogtreecommitdiff
path: root/plugins/broadcast/config.go
blob: 03bf651015c0a4e51b6a03f836b0a91d3da89c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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() {

}

func (c *Config) Valid() error {
	return nil
}