diff options
Diffstat (limited to 'modules/caddyhttp/encode/zstd')
-rw-r--r-- | modules/caddyhttp/encode/zstd/zstd.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/caddyhttp/encode/zstd/zstd.go b/modules/caddyhttp/encode/zstd/zstd.go index 6afe53e..eb66ad8 100644 --- a/modules/caddyhttp/encode/zstd/zstd.go +++ b/modules/caddyhttp/encode/zstd/zstd.go @@ -1,4 +1,4 @@ -package caddystd +package caddyzstd import ( "github.com/caddyserver/caddy2" @@ -21,3 +21,6 @@ func (z Zstd) NewEncoder() encode.Encoder { writer, _ := zstd.NewWriter(nil) return writer } + +// Interface guard +var _ encode.Encoding = (*Zstd)(nil) |