Documentation
¶
Index ¶
- type Engine
- func (e *Engine) Del(ctx context.Context, key string) error
- func (e *Engine) ForEachExpired(action func(key string))
- func (e *Engine) Get(ctx context.Context, key string) (string, bool)
- func (e *Engine) Set(ctx context.Context, key, value string, ttl int64)
- func (e *Engine) Watch(ctx context.Context, key string) pkgsync.FutureString
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine - abstract data storage engine.
func (*Engine) ForEachExpired ¶
ForEachExpired - scans engine partitions for retrieve expired keys.
Click to show internal directories.
Click to hide internal directories.