Thanks to visit codestin.com
Credit goes to pkg.go.dev

zstd

package
v1.23.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 3 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL