Documentation ¶
Index ¶
- type NearDBDatabase
- func (db *NearDBDatabase) Add(id string, set []string) error
- func (db *NearDBDatabase) Close()
- func (db *NearDBDatabase) Query(set []string, k int) (utils.ItemList, error)
- func (db *NearDBDatabase) QueryPage(set []string, k, offset, all int) (utils.ItemList, error)
- func (db *NearDBDatabase) Refresh()
- func (db *NearDBDatabase) Remove(id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NearDBDatabase ¶
type NearDBDatabase struct {
// contains filtered or unexported fields
}
func NewDatabase ¶
func NewDatabase() (*NearDBDatabase, error)
func (*NearDBDatabase) Close ¶
func (db *NearDBDatabase) Close()
func (*NearDBDatabase) Refresh ¶
func (db *NearDBDatabase) Refresh()
func (*NearDBDatabase) Remove ¶
func (db *NearDBDatabase) Remove(id string) error
Click to show internal directories.
Click to hide internal directories.