Documentation ¶
Index ¶
- type CacheDB
- func (v *CacheDB) AutoVacuum() error
- func (v *CacheDB) Close()
- func (v *CacheDB) Count(table int, min, max int64) (int64, error)
- func (v *CacheDB) DeleteData(table int, id int64) (int64, error)
- func (v *CacheDB) GetNextData(table int, curr int64) (int64, []byte, error)
- func (v *CacheDB) GetNextLimitData(table int, curr int64, limit int64) (*list.List, error)
- func (v *CacheDB) InitDB(num int) error
- func (v *CacheDB) InsertData(table int, id int64, data []byte) (int64, error)
- func (v *CacheDB) Reduce() error
- type Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheDB ¶
type CacheDB struct {
// contains filtered or unexported fields
}
func (*CacheDB) AutoVacuum ¶
func (*CacheDB) GetNextData ¶
func (*CacheDB) GetNextLimitData ¶
func (*CacheDB) InsertData ¶
Click to show internal directories.
Click to hide internal directories.