wheat-cache/pkg/structure/interface.gen.go

30 lines
736 B
Go
Raw Normal View History

// Code generated by gen-struct-const. DO NOT EDIT.
// make gen-struct generated
package structure
import "gitee.com/timedb/wheatCache/pkg/proto"
type KeyBaseInterface interface {
SizeByte() int64
// TODO RollBack 事务相关, V2 实现
RollBack() error
// Begin 事务相关, V2 实现
Begin() error
// Comment 事务相关, V2 实现
Comment() error
Encode() ([]byte, error)
}
type StringXInterface interface {
KeyBaseInterface
2021-09-25 14:52:42 +08:00
Set(*proto.SetRequest) (*ResultConn, error)
Get(*proto.GetRequest) (*ResultConn, error)
Add(*proto.AddRequest) (*ResultConn, error)
Reduce(*proto.ReduceRequest) (*ResultConn, error)
Setbit(*proto.SetbitRequest) (*ResultConn, error)
Getbit(*proto.GetbitRequest) (*ResultConn, error)
}