Documentation ¶
Index ¶
- func AddBloom(c *gin.Context)
- func AddList(c *gin.Context)
- func AddSet(c *gin.Context)
- func AddZList(c *gin.Context)
- func CameraSave(c *gin.Context)
- func ClearBitmap(c *gin.Context)
- func ClearBloom(c *gin.Context)
- func ContainsSet(c *gin.Context)
- func DecrByCounter(c *gin.Context)
- func DecrCounter(c *gin.Context)
- func Delete(c *gin.Context)
- func DeleteObjectFieldByKey(c *gin.Context)
- func DiffSet(c *gin.Context)
- func Err500(c *gin.Context)
- func Get(c *gin.Context)
- func GetBitCount(c *gin.Context)
- func GetBitmapBit(c *gin.Context)
- func GetBitmapLen(c *gin.Context)
- func GetBloomFalseRate(c *gin.Context)
- func GetBloomSize(c *gin.Context)
- func GetListBetween(c *gin.Context)
- func GetListByPos(c *gin.Context)
- func GetListEndAt(c *gin.Context)
- func GetListLen(c *gin.Context)
- func GetListStartAt(c *gin.Context)
- func GetObjectFieldByKey(c *gin.Context)
- func GetSetSize(c *gin.Context)
- func GetStrLen(c *gin.Context)
- func GetZListBetween(c *gin.Context)
- func GetZListBetweenScores(c *gin.Context)
- func GetZListByPos(c *gin.Context)
- func GetZListEndAt(c *gin.Context)
- func GetZListLen(c *gin.Context)
- func GetZListStartAt(c *gin.Context)
- func IncrByCounter(c *gin.Context)
- func IncrCounter(c *gin.Context)
- func Info(c *gin.Context)
- func InterSet(c *gin.Context)
- func LPopList(c *gin.Context)
- func LPushList(c *gin.Context)
- func Lock(c *gin.Context)
- func Ping(c *gin.Context)
- func RPopList(c *gin.Context)
- func RPushList(c *gin.Context)
- func Register(r *gin.Engine, needAuth bool)
- func RemoveListElement(c *gin.Context)
- func RemoveSet(c *gin.Context)
- func RemoveZListByScore(c *gin.Context)
- func SetBitmap(c *gin.Context)
- func SetBloomFuzzy(c *gin.Context)
- func SetBloomSpecific(c *gin.Context)
- func SetCounter(c *gin.Context)
- func SetElementAt(c *gin.Context)
- func SetList(c *gin.Context)
- func SetObject(c *gin.Context)
- func SetObjectFieldByKey(c *gin.Context)
- func SetSet(c *gin.Context)
- func SetStr(c *gin.Context)
- func SetZList(c *gin.Context)
- func SubscribeKey(c *gin.Context)
- func TestBloom(c *gin.Context)
- func TestPost(c *gin.Context)
- func UnionSet(c *gin.Context)
- func Unlock(c *gin.Context)
- type AddBloomParam
- type AddListParam
- type AddZListParam
- type BloomFuzzyOption
- type BloomSpecificOption
- type CameraSaveParam
- type CommonSetParam
- type LockParam
- type PushListParam
- type RemoveListElementParam
- type RemoveZListByScoreParam
- type SetAtParam
- type SetBitmapParam
- type SetBloomFuzzyParam
- type SetBloomSpecificParam
- type SetCounterParam
- type SetListParam
- type SetObjectFieldByKeyParam
- type SetObjectParam
- type SetSetParam
- type SetStrParam
- type SetZListParam
- type SubscribeKeyParam
- type UnlockParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CameraSave ¶
func ClearBitmap ¶
func ClearBloom ¶
func ContainsSet ¶
func DecrByCounter ¶
func DecrCounter ¶
func DeleteObjectFieldByKey ¶ added in v0.1.1
func GetBitCount ¶
func GetBitmapBit ¶
func GetBitmapLen ¶
func GetBloomFalseRate ¶
func GetBloomSize ¶
func GetListBetween ¶
func GetListByPos ¶
func GetListEndAt ¶
func GetListLen ¶
func GetListStartAt ¶
func GetObjectFieldByKey ¶
func GetSetSize ¶
func GetZListBetween ¶
func GetZListBetweenScores ¶
func GetZListByPos ¶
func GetZListEndAt ¶
func GetZListLen ¶
func GetZListStartAt ¶
func IncrByCounter ¶
func IncrCounter ¶
func RemoveListElement ¶
func RemoveZListByScore ¶
func SetBloomFuzzy ¶
func SetBloomSpecific ¶
func SetCounter ¶
func SetElementAt ¶ added in v0.1.2
func SetObjectFieldByKey ¶
func SubscribeKey ¶
Types ¶
type AddBloomParam ¶
type AddBloomParam struct {
Key string
}
type AddListParam ¶
type AddListParam struct { Element interface{} `json:"e"` Elements []interface{} `json:"elements"` }
type AddZListParam ¶
type BloomFuzzyOption ¶
type BloomSpecificOption ¶
type CameraSaveParam ¶
type CameraSaveParam struct {
NeedZip bool `json:"zip"`
}
type CommonSetParam ¶
type CommonSetParam struct {
Element interface{} `json:"e"`
}
type PushListParam ¶
type PushListParam struct {
Element interface{} `json:"e"`
}
type RemoveListElementParam ¶
type RemoveListElementParam struct { Val interface{} Pos *int }
type RemoveZListByScoreParam ¶
type SetAtParam ¶ added in v0.1.2
type SetAtParam struct { Element interface{} `json:"e"` Pos int `json:"pos"` }
type SetBitmapParam ¶
type SetBitmapParam struct {
ExpireTime int64 `json:"expire_time" binding:"-"`
}
type SetBloomFuzzyParam ¶
type SetBloomFuzzyParam struct { Key string `json:"k"` Val BloomFuzzyOption `json:"v"` ExpireTime int64 `json:"expire_time" binding:"-"` }
type SetBloomSpecificParam ¶
type SetBloomSpecificParam struct { Key string `json:"k"` Val BloomSpecificOption `json:"v"` ExpireTime int64 `json:"expire_time" binding:"-"` }
type SetCounterParam ¶
type SetListParam ¶
type SetObjectFieldByKeyParam ¶
type SetObjectFieldByKeyParam struct {
Val interface{} `json:"v"`
}
type SetObjectParam ¶
type SetSetParam ¶
type SetStrParam ¶
type SetZListParam ¶
type SubscribeKeyParam ¶
type SubscribeKeyParam struct { Key string `json:"key"` Path string `json:"path"` Events *[]string `json:"expect_events" binding:"-"` RetryTimes *int `json:"retry_times" binding:"-"` IsPersistent *bool `json:"is_persistent" binding:"-"` Method string `json:"method" binding:"-"` ExpectValue interface{} `json:"expect_value" binding:"-"` }
type UnlockParam ¶
type UnlockParam struct {
Guid string `json:"guid"`
}
Click to show internal directories.
Click to hide internal directories.