summaryrefslogtreecommitdiff
path: root/plugins/broadcast/websockets/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/broadcast/websockets/config.go')
-rw-r--r--plugins/broadcast/websockets/config.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/broadcast/websockets/config.go b/plugins/broadcast/websockets/config.go
deleted file mode 100644
index 8a71c7af..00000000
--- a/plugins/broadcast/websockets/config.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package websockets
-
-
-// Config defines the websocket service configuration.
-type Config struct {
- // Path defines on this URL the middleware must be activated. Same path must
- // be handled by underlying application kernel to authorize the consumption.
- Path string
-
- // NoOrigin disables origin check, only for debug.
- NoOrigin bool
-}
-
-// Hydrate reads the configuration values from the source configuration.
-//func (c *Config) Hydrate(cfg service.Config) error {
-// if err := cfg.Unmarshal(c); err != nil {
-// return err
-// }
-//
-// return nil
-//}