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

Interface Decompressor

middleware/decompress.go:35–37  ·  view source on GitHub ↗

Decompressor is used to get the sync.Pool used by the middleware to get Gzip readers

Source from the content-addressed store, hash-verified

33
34// Decompressor is used to get the sync.Pool used by the middleware to get Gzip readers
35type Decompressor interface {
36 gzipDecompressPool() sync.Pool
37}
38
39// DefaultGzipDecompressPool is the default implementation of Decompressor interface
40type DefaultGzipDecompressPool struct {

Callers 1

ToMiddlewareMethod · 0.65

Implementers 2

DefaultGzipDecompressPoolmiddleware/decompress.go
TestDecompressPoolWithErrormiddleware/decompress_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…