Versions in this module Expand all Collapse all v0 v0.1.0 Dec 27, 2023 v0.0.2 Oct 10, 2023 Changes in this version + var DebugMode = false + type Database struct + BitSize uint16 + File *os.File + MU sync.Mutex + Path string + PrefixList []byte + func Open(path string, encKey []byte, bitSize uint16, prefixList []byte) (*Database, error) + func (db *Database) Close() error + type Object struct + Key []byte + Line int64 + OldKey []byte + OldVal []byte + Val []byte + func AddDataObj(db *Database, prefix byte, key []byte, val []byte) (Object, error) + func DelDataObj(db *Database, prefix byte) (Object, error) + func GetDataObj(db *Database, prefix byte, key []byte, val []byte, stopAfterFirstRow ...bool) (Object, error) + func SetDataObj(db *Database, prefix byte, key []byte, val []byte) (Object, error)