diff options
author | Valery Piashchynski <[email protected]> | 2021-05-20 22:46:19 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-20 22:46:19 +0300 |
commit | d2e9d8320857f5768c54843a43ad16f59d6a3e8f (patch) | |
tree | f6f46e688b6005b2b0ea10c7238e925c0b58f25a /plugins/gzip | |
parent | f85172106b4723b705aa75c3c310e8cebd050a8d (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')
-rw-r--r-- | plugins/gzip/plugin.go | 5 |
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() {} |