summaryrefslogtreecommitdiff
path: root/plugins/broadcast/config.go
blob: 18846f3055fde426ef34440a0dd1819f0359f96d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package broadcast

/*
websockets: # <----- one of possible subscribers
  path: /ws
  broker: default # <------ broadcast broker to use --------------- |
                                                                    |  match
broadcast: # <-------- broadcast entry point plugin                 |
  default: # <----------------------------------------------------- |
     driver: redis
  test:
     driver: memory

*/

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