Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.5.0
type Config interface {
CheckConfig() Config
}
Config is an interface for this package
type Storage ¶
type Storage interface { // basic operations Has(key string) bool Put(key string, value []byte) error Get(key string) ([]byte, error) Del(key string) error Sync() error Close() error // batch operations PutBatch(batch *binary.Batch) error GetBatch(keys ...string) (*binary.Batch, error) // stats Stats() (StorageStats, error) }
Storage is an interface for this package
type StorageStats ¶ added in v1.5.0
StorageStats is an interface for this package
Click to show internal directories.
Click to hide internal directories.