compress

package
v0.0.0-...-4e80ce2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinCompressSize  = 256
	CompressPageSize = 256
)

Variables

This section is empty.

Functions

func Bytes

func Bytes(b []byte) []byte

Bytes compress []bytes

func Items

func Items(rs []*redis.Resp) (args []*redis.Resp, changed bool)

Items compresses *Resp that are items of a *Resp

func Resp

func Resp(r *redis.Resp) *redis.Resp

Resp compresses an entire *Resp

func UItem

func UItem(item *redis.Resp) (*redis.Resp, bool)

func UResp

func UResp(m *redis.Resp) *redis.Resp

UResp uncompress a complex *Resp

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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