diff options
author | Valery Piashchynski <[email protected]> | 2021-05-27 00:09:33 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-27 00:09:33 +0300 |
commit | dc3c5455e5c9b32737a0620c8bdb8bda0226dba7 (patch) | |
tree | 6ba562da6de7f32a8d528b72cbb56a8bc98c1b30 /plugins/broadcast/config.go | |
parent | d2e9d8320857f5768c54843a43ad16f59d6a3e8f (diff) |
- Update all main abstractions
- Desighn a new interfaces responsible for the whole PubSub
- New plugin - websockets
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/broadcast/config.go')
-rw-r--r-- | plugins/broadcast/config.go | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/plugins/broadcast/config.go b/plugins/broadcast/config.go deleted file mode 100644 index 5e7b7f20..00000000 --- a/plugins/broadcast/config.go +++ /dev/null @@ -1,29 +0,0 @@ -package broadcast - -/* -broadcast: - ws-us-region-1: - subscriber: websockets - middleware: ["headers", "gzip"] # ???? - address: "localhost:53223" - path: "/ws" - - storage: 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 -} |