Documentation ¶
Index ¶
- func DecodeIntArr(b []byte) (intArr, error)
- type DB
- func (db *DB) GetTitle(title string) (res []byte, e error)
- func (db *DB) IndexOgrn(id int64) error
- func (db *DB) IndexOkveds(id int64, okveds []string) (e error)
- func (db *DB) IndexRegion(id int64, regionId byte) (e error)
- func (db *DB) IndexTitle(id int64, title string) (e error)
- func (db *DB) Insert(org models.Org) error
- func (db *DB) LimitOgrn(limit int, offsets ...int) ([]byte, error)
- func (db *DB) LoadXml(path string) error
- func (db *DB) PutDate(id int64, data []byte) error
- type Prefix
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeIntArr ¶
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) IndexTitle ¶
func (db *DB) hasInt(bucket, key)
Click to show internal directories.
Click to hide internal directories.