Documentation ¶
Overview ¶
Stores overview data into a LevelDB database.
Index ¶
- type OvKeyFormat
- type OvLDB
- func (ov *OvLDB) CancelOv(grp []byte, num int64) (err error)
- func (ov *OvLDB) FetchAll(grp []byte, num, lastnum int64, tk *storage.TOKEN, ...) (cur storage.Cursor, err error)
- func (ov *OvLDB) FetchOne(grp []byte, num int64, tk *storage.TOKEN, ove *storage.OverviewElement) (rel storage.Releaser, err error)
- func (ov *OvLDB) GroupStat(grp []byte) (num, low, high int64, err error)
- func (ov *OvLDB) GroupWriteOv(grp []byte, autonum bool, md *storage.Article_MD, tk *storage.TOKEN, ...) (err error)
- func (ov *OvLDB) InitGroup(grp []byte) (err error)
- func (ov *OvLDB) SeekOne(grp []byte, num int64, back bool, tk *storage.TOKEN, ...) (rel storage.Releaser, err error)
- type OvValFormat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OvKeyFormat ¶
type OvKeyFormat interface {
// contains filtered or unexported methods
}
Handles the format of the LevelDB keys.
func GetKF_V1 ¶
func GetKF_V1() OvKeyFormat
type OvLDB ¶
type OvLDB struct { OvKeyFormat OvValFormat DB *leveldb.DB }
func (*OvLDB) GroupWriteOv ¶
func (ov *OvLDB) GroupWriteOv(grp []byte, autonum bool, md *storage.Article_MD, tk *storage.TOKEN, ove *storage.OverviewElement) (err error)
type OvValFormat ¶
type OvValFormat interface {
// contains filtered or unexported methods
}
func GetVF_V1 ¶
func GetVF_V1() OvValFormat
Click to show internal directories.
Click to hide internal directories.