Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface {
Close()
Put(key []byte, value []byte) error
Get(key []byte) ([]byte, error)
GetString(key string) (string, error)
PutString(key string, value string) error
Has(key []byte) (ret bool, err error)
HasString(key string) (ret bool, err error)
Delete(key []byte) error
DeleteSring(key string) error
NewBatch() Batch
}
Database represents the interface of store
Click to show internal directories.
Click to hide internal directories.