mirror of
https://github.com/fhmq/hmq.git
synced 2026-08-31 23:04:52 +00:00
* modify * update * add acl * add feature * update dockerfile * add deploy * update * update * plugins * plugins * update * update * update * fixed * remove * fixed * add log * update * fixed * update * fix config * add http api * add http api * resp * add config for work chan * update * fixed * update * disable trace * fixed * change acl * fixed * fixed res * dd * dd * ddd * dd * update * fixed * update * add * fixed * update key * add log * update * format * update * update auth * update * update readme * added * update * fixed * fixed * fix * upade * update * update
18 lines
315 B
Go
18 lines
315 B
Go
// +build !cgo
|
|
|
|
package sarama
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var errZstdCgo = errors.New("zstd compression requires building with cgo enabled")
|
|
|
|
func zstdDecompress(dst, src []byte) ([]byte, error) {
|
|
return nil, errZstdCgo
|
|
}
|
|
|
|
func zstdCompressLevel(dst, src []byte, level int) ([]byte, error) {
|
|
return nil, errZstdCgo
|
|
}
|