Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrNotExisted string = "data not existed" ErrModeNotMatched string = "storage mode not matched" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LevelStore ¶
type LevelStore struct {
// contains filtered or unexported fields
}
func NewLevelStore ¶
func NewLevelStore(path string) (*LevelStore, error)
func (*LevelStore) Close ¶
func (l *LevelStore) Close()
type MemStore ¶
type MemStore struct {
// contains filtered or unexported fields
}
MemStore 表示一个内存存储
func NewMemStore ¶
func NewMemStore() *MemStore
Click to show internal directories.
Click to hide internal directories.