forked from p93542168/wheat-cache
32 lines
1.1 KiB
Go
32 lines
1.1 KiB
Go
// Code generated by gen-struct. DO NOT EDIT.
|
|
// make gen-service generated
|
|
|
|
package dao
|
|
|
|
import "gitee.com/timedb/wheatCache/pkg/proto"
|
|
|
|
type Interface interface {
|
|
LIndex(*proto.BaseKey, int32) (string, error)
|
|
LLen(*proto.BaseKey) (int32, error)
|
|
LPop(*proto.BaseKey, int32) ([]string, error)
|
|
LPush(*proto.BaseKey, []string) error
|
|
LPushX(*proto.BaseKey, []string) error
|
|
LRange(*proto.BaseKey, int32, int32) ([]string, error)
|
|
LRem(*proto.BaseKey, int32, string) (int32, error)
|
|
LSet(*proto.BaseKey, int32, string) error
|
|
RPop(*proto.BaseKey, int32) ([]string, error)
|
|
LTrim(*proto.BaseKey, int32, int32) error
|
|
RPush(*proto.BaseKey, []string) error
|
|
RPushX(*proto.BaseKey, []string) error
|
|
Set(*proto.BaseKey, string) (string, error)
|
|
Get(*proto.BaseKey) (string, error)
|
|
Add(*proto.BaseKey, int32) (string, error)
|
|
Reduce(*proto.BaseKey, int32) (string, error)
|
|
Setnx(*proto.BaseKey, string) error
|
|
SetBit(*proto.BaseKey, bool, int32) error
|
|
GetBit(*proto.BaseKey, int32) (bool, error)
|
|
GetRange(*proto.BaseKey, int32, int32) (string, error)
|
|
GetSet(*proto.BaseKey, string) (string, error)
|
|
StrLen(*proto.BaseKey) (int32, error)
|
|
}
|