Documentation ¶
Overview ¶
Stores reverse index data into a LevelDB database.
Index ¶
- type RiLDB
- func (r *RiLDB) RiBegin(msgid []byte) storage.RiWriter
- func (r *RiLDB) RiExpire(msgid []byte) (err error)
- func (r *RiLDB) RiLookup(msgid []byte, rie *storage.RiElement) (rel storage.Releaser, err error)
- func (r *RiLDB) RiLookupAll(msgid []byte, rie *storage.RiElement) (rel storage.Cursor, err error)
- func (r *RiLDB) RiQueryExpired(ow *time.Time, rih *storage.RiHistory) (cur storage.Cursor, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RiLDB ¶
func (*RiLDB) RiBegin ¶
Called for a sequence of group/number-pairs associated to the article This method may return <nil>!
func (*RiLDB) RiLookup ¶
Performs a reverse index lookup: message-id to the first group/number pair.
func (*RiLDB) RiLookupAll ¶
Performs a reverse index lookup: message-id to all first group/number pairs.
Click to show internal directories.
Click to hide internal directories.