Versions in this module Expand all Collapse all v0 v0.0.3 Apr 14, 2026 v0.0.2 Apr 13, 2026 v0.0.1 Apr 12, 2026 Changes in this version + var ErrInvalidAlgorithm = errors.New("invalid compression algorithm") + type Compressor interface + CompressBytes func(in []byte) ([]byte, error) + DecompressBytes func(in []byte) ([]byte, error) + func NewCompressor(a algo) (Compressor, error)