func (Gzip) CaddyModule() caddy.ModuleInfo {
	return caddy.ModuleInfo{
		ID:  "http.encoders.gzip",
		New: func() caddy.Module { return new(Gzip) },
	}
}
CaddyModule returns the Caddy module information.
package caddygzip
import (
	"fmt"
	"strconv"
	"github.com/caddyserver/caddy/v2"
	"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
	"github.com/caddyserver/caddy/v2/modules/caddyhttp/encode"
	"github.com/klauspost/compress/gzip"
)
func init() {
	caddy.RegisterModule(Gzip{})
}
type Gzip struct {
	Level int `json:"level,omitempty"`
}