summaryrefslogtreecommitdiff
path: root/plugins/gzip
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-30 11:44:07 +0300
committerValery Piashchynski <[email protected]>2021-04-30 11:44:07 +0300
commit50aa751dcefc0ab0e96594a5f111ead316a34a70 (patch)
tree5cf1fd278e01e1bd23a3f39d408ceb49741c448c /plugins/gzip
parent65015a3d3f4b387675b5ca005b8831a6be9e15aa (diff)
- Update Lister implementation
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/gzip')
-rw-r--r--plugins/gzip/plugin.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/gzip/plugin.go b/plugins/gzip/plugin.go
index 18ee7b88..d25894ff 100644
--- a/plugins/gzip/plugin.go
+++ b/plugins/gzip/plugin.go
@@ -10,7 +10,7 @@ const PluginName = "gzip"
type Plugin struct{}
-// needed for the Endure
+// Init needed for the Endure
func (g *Plugin) Init() error {
return nil
}
@@ -21,6 +21,11 @@ func (g *Plugin) Middleware(next http.Handler) http.Handler {
})
}
+// Available interface implementation
+func (g *Plugin) Available() bool {
+ return true
+}
+
func (g *Plugin) Name() string {
return PluginName
}