MCPcopy
hub / github.com/labstack/echo / DefaultGzipDecompressPool

Struct DefaultGzipDecompressPool

middleware/decompress.go:40–41  ·  view source on GitHub ↗

DefaultGzipDecompressPool is the default implementation of Decompressor interface

Source from the content-addressed store, hash-verified

38
39// DefaultGzipDecompressPool is the default implementation of Decompressor interface
40type DefaultGzipDecompressPool struct {
41}
42
43func (d *DefaultGzipDecompressPool) gzipDecompressPool() sync.Pool {
44 return sync.Pool{New: func() any { return new(gzip.Reader) }}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected