Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2023 Changes in this version type DB + func (s *DB) RangeKeys(handler func(key []byte, value []byte) bool) v0.0.1 Oct 30, 2023 Changes in this version + func NewlruDB(size uint32) (*lruDB, error) + type DB struct + func New() *DB + func (s *DB) Close() error + func (s *DB) Destroy() error + func (s *DB) DestroyClosed() error + func (s *DB) Get(key []byte) ([]byte, error) + func (s *DB) Has(key []byte) error + func (s *DB) Init() error + func (s *DB) IsInterfaceNil() bool + func (s *DB) Put(key, val []byte) error + func (s *DB) Remove(key []byte) error