summaryrefslogtreecommitdiff
path: root/plugins/broadcast/config.go
blob: 4f1e5213e1880e2f14d1328be265e9f4bac9d1a1 (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
package broadcast

/*

# Global redis config (priority - 2)

websockets: # <----- one of possible subscribers
  path: /ws
  broker: default # <------ broadcast broker to use --------------- |
                                                                    |  match
broadcast: # <-------- broadcast entry point plugin                 |
  default: # <----------------------------------------------------- |
     driver: redis
     # local redis config (priority - 1)
  test:
     driver: memory


priority local -> global
*/

// Config ...
type Config struct {
	Data map[string]interface{} `mapstructure:"broadcast"`
}