Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyValue = errors.New("empty value")
ErrEmptyValue 返回值为空值
View Source
var ErrItemLenNotMatch = errors.New("item len not match")
ErrItemLenNotMatch 物品数量不符
View Source
var ErrItemListEmpty = errors.New("item list is empty")
ErrItemListEmpty 物品列表为空
View Source
var ErrMustChooseOneParam = errors.New("must choose one param")
ErrMustChooseOneParam 必须选一个参数填入
View Source
var ErrNeedMoreThan2Source = errors.New("need more than 2 source")
ErrNeedMoreThan2Source 需要超过2个资源
View Source
var ErrResultLenNotMatch = errors.New("results len not match")
ErrResultLenNotMatch 结果返回数量不符
Functions ¶
This section is empty.
Types ¶
type BoolMapPlacehold ¶
BoolMapPlacehold 将结果中的1设置为true,0设置为false;如果Reverse为true则相反
type BoolValPlacehold ¶
BoolValPlacehold 将结果中的1设置为true,0设置为false;如果Reverse为true则相反
func (*BoolValPlacehold) Result ¶
func (r *BoolValPlacehold) Result() (bool, error)
type Int64MapPlacehold ¶
Int64MapPlacehold int64结果和对应物品映射结果的占位符
type Int64ValPlacehold ¶
type Int64ValPlacehold struct { Ck string Cmd *redis.Cmd }
Int64ValPlacehold int64型的结果占位符
func (*Int64ValPlacehold) Result ¶
func (r *Int64ValPlacehold) Result() (int64, error)
type OneBoolMapPlacehold ¶
type OneBoolMapPlacehold struct { MapPlacehold *BoolMapPlacehold Item string }
OneBoolMapPlacehold bool结果和对应物品映射结果但只取其中一个值的占位符
func (*OneBoolMapPlacehold) Result ¶
func (r *OneBoolMapPlacehold) Result() (bool, error)
type OneInt64MapPlacehold ¶
type OneInt64MapPlacehold struct { MapPlacehold *Int64MapPlacehold Item string }
OneInt64MapPlacehold int64结果和对应物品映射结果但只取其中一个值的占位符
func (*OneInt64MapPlacehold) Result ¶
func (r *OneInt64MapPlacehold) Result() (int64, error)
type StringListValPlacehold ¶
type StringListValPlacehold struct { Ck string Cmd *redis.Cmd }
StringListValPlacehold []string型的结果占位符
func (*StringListValPlacehold) Result ¶
func (r *StringListValPlacehold) Result() ([]string, error)
Directories
¶
Path | Synopsis |
---|---|
redisbloomhelper redis扩展[RedisBloom](https://github.com/RedisBloom/RedisBloom)帮助模块,用于处理布隆过滤器
|
redisbloomhelper redis扩展[RedisBloom](https://github.com/RedisBloom/RedisBloom)帮助模块,用于处理布隆过滤器 |
cuckoofilter redis扩展[RedisBloom](https://github.com/RedisBloom/RedisBloom)帮助模块,用于处理布隆过滤器
|
cuckoofilter redis扩展[RedisBloom](https://github.com/RedisBloom/RedisBloom)帮助模块,用于处理布隆过滤器 |
Click to show internal directories.
Click to hide internal directories.