summaryrefslogtreecommitdiff
path: root/plugins/gzip/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-20 22:46:19 +0300
committerValery Piashchynski <[email protected]>2021-05-20 22:46:19 +0300
commitd2e9d8320857f5768c54843a43ad16f59d6a3e8f (patch)
treef6f46e688b6005b2b0ea10c7238e925c0b58f25a /plugins/gzip/plugin.go
parentf85172106b4723b705aa75c3c310e8cebd050a8d (diff)
- Update linters
- Implement base interfaces - Implement BST search algo for the in-memory storage Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/gzip/plugin.go')
-rw-r--r--plugins/gzip/plugin.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/gzip/plugin.go b/plugins/gzip/plugin.go
index 24b125fb..133704f8 100644
--- a/plugins/gzip/plugin.go
+++ b/plugins/gzip/plugin.go
@@ -4,6 +4,7 @@ import (
"net/http"
"github.com/NYTimes/gziphandler"
+ "github.com/gofiber/fiber/v2"
)
const PluginName = "gzip"
@@ -21,6 +22,10 @@ func (g *Plugin) Middleware(next http.Handler) http.Handler {
})
}
+func (g *Plugin) FiberMiddleware(ctx fiber.Ctx) {
+
+}
+
// Available interface implementation
func (g *Plugin) Available() {}