feat: 优化领导者服务
This commit is contained in:
@@ -56,3 +56,8 @@ type Pipeliner interface {
|
||||
type RedisPipeliner interface {
|
||||
Pipeline() Pipeliner
|
||||
}
|
||||
|
||||
// LuaScripter is an optional interface that a Store can implement to provide Lua script execution.
|
||||
type LuaScripter interface {
|
||||
Eval(script string, keys []string, args ...interface{}) (interface{}, error)
|
||||
}
|
||||
|
Reference in New Issue
Block a user