Documentation
¶
Index ¶
- Constants
- type Storage
- func (s *Storage) Create(value interface{}) error
- func (s *Storage) CreateTable(value interface{}) error
- func (s *Storage) Delete(value interface{}, hash interface{}, args ...interface{}) error
- func (s *Storage) Find(value interface{}, limit int64, expr string, args ...interface{}) error
- func (s *Storage) First(value interface{}, hash interface{}, args ...interface{}) error
- func (s *Storage) Save(value interface{}) error
Constants ¶
View Source
const ( // Value 数值对象,通过 ? 代替 Value elemType = iota // Field 结构体字段对象 Field // Operator 操作符 Operator )
View Source
const ( Greater operatorType = iota EqualOrGreater Less EqualOrLess Equal NotEqual And Or Not )
View Source
const ( Hash keyType = iota HashRange )
View Source
const ( DefaultTickTime = time.Second MinTickTime = time.Millisecond * 20 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.