Documentation ¶
Index ¶
Constants ¶
View Source
const (
SnappyBackendStr = "snappy" // legacy, defaults to SnappyBackendStr.
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compression ¶
type Compression interface { CompressBytes(data []byte) []byte DecompressBytes(data []byte) ([]byte, error) }
Compression is intterface
func NewCompression ¶
func NewCompression(backend string) Compression
Click to show internal directories.
Click to hide internal directories.