summaryrefslogtreecommitdiff
path: root/plugins/broadcast/ws/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/broadcast/ws/config.go')
-rw-r--r--plugins/broadcast/ws/config.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/broadcast/ws/config.go b/plugins/broadcast/ws/config.go
deleted file mode 100644
index 1d4132b4..00000000
--- a/plugins/broadcast/ws/config.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package ws
-
-/*
-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 {
- // http path for the websocket
- Path string `mapstructure:"Path"`
-}
-
-// InitDefault initialize default values for the ws config
-func (c *Config) InitDefault() {
- if c.Path == "" {
- c.Path = "/ws"
- }
-}