Versions in this module Expand all Collapse all v2 v2.13.0 Feb 3, 2025 Changes in this version + type LogSM struct + func Open(dir string, opts ...Option) (*LogSM, error) + func (x *LogSM) Close() + func (x *LogSM) Delete(key string) error + func (x *LogSM) Get(key string) ([]byte, bool) + func (x *LogSM) Scan(start, end string) []stypes.KV + func (x *LogSM) Set(key string, value []byte) error + func (x *LogSM) State() State + type Option interface + Apply func(*LogSM) + func WithDataBlockByteThreshold(threshold int) Option + func WithL0TargetNum(num int) Option + func WithLevelRatio(ratio int) Option + func WithLogger(logger log.Logger) Option + func WithMemTableSizeThreshold(threshold int) Option + func WithProbability(probability float64) Option + func WithSkipListMaxLevel(maxLevel int) Option + type OptionFunc func(*LogSM) + func (f OptionFunc) Apply(t *LogSM) + type State uint32 + const StateClosed + const StateInitialized + const StateOpened Other modules containing this package github.com/tochemey/goakt/v3