diff options
Diffstat (limited to 'plugins/gzip/plugin.go')
-rw-r--r-- | plugins/gzip/plugin.go | 7 |
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 } |