Documentation ¶
Index ¶
- type Config
- type MutcaskDS
- func (dis *MutcaskDS) Close() error
- func (dis *MutcaskDS) Delete(k ds.Key) error
- func (dis *MutcaskDS) Get(k ds.Key) ([]byte, error)
- func (dis *MutcaskDS) GetSize(k ds.Key) (int, error)
- func (dis *MutcaskDS) Has(k ds.Key) (bool, error)
- func (dis *MutcaskDS) Put(k ds.Key, value []byte) error
- func (dis *MutcaskDS) Query(q dsq.Query) (dsq.Results, error)
- func (dis *MutcaskDS) Sync(ds.Key) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Path string `json:"path"` CaskNum uint32 `json:"cask_num"` HintBootReadNum int `json:"hint_boot_read_num"` Migrate bool `json:"migrate"` }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.