Documentation
¶
Overview ¶
Package zstd activates support for zstd compression. To enable zstd compression support, import like this:
import ( _ "github.com/prometheus/client_golang/prometheus/promhttp/zstd" )
This support is currently implemented via the github.com/klauspost/compress library, so importing this package requires linking and building that library. Once stdlib support is added to the Go standard library (https://github.com/golang/go/issues/62513), this package is expected to become a no-op, and zstd support will be enabled by default.
Click to show internal directories.
Click to hide internal directories.