summaryrefslogtreecommitdiff
path: root/plugins/broadcast/ws/ws_middleware.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/broadcast/ws/ws_middleware.go')
-rw-r--r--plugins/broadcast/ws/ws_middleware.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/broadcast/ws/ws_middleware.go b/plugins/broadcast/ws/ws_middleware.go
deleted file mode 100644
index 068ef9fb..00000000
--- a/plugins/broadcast/ws/ws_middleware.go
+++ /dev/null
@@ -1,13 +0,0 @@
-package ws
-
-import (
- "github.com/gofiber/fiber/v2"
- "github.com/gofiber/websocket/v2"
-)
-
-func wsMiddleware(c *fiber.Ctx) error {
- if websocket.IsWebSocketUpgrade(c) {
- return c.Next()
- }
- return fiber.ErrUpgradeRequired
-}