Versions in this module Expand all Collapse all v1 v1.0.2 Nov 4, 2024 v1.0.1 Oct 30, 2024 Changes in this version + type DB struct + func Open(path string, syncIime int) (*DB, error) + func (fdb *DB) Close() error + func (fdb *DB) Defrag() error + func (fdb *DB) Del(bucket string, key int) (bool, error) + func (fdb *DB) Get(bucket string, key int) ([]byte, bool) + func (fdb *DB) GetAll(bucket string) (map[int][]byte, error) + func (fdb *DB) GetAllSorted(bucket string) ([]*SortRecord, error) + func (fdb *DB) GetNewIndex(bucket string) (newKey int) + func (fdb *DB) Info() string + func (fdb *DB) Set(bucket string, key int, value []byte) error + type SortRecord struct + Data []byte + SortField any