// 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 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) }