Documentation ¶
Index ¶
- func NewLevelDB(path string, batchDelaySeconds int, maxBatchSize int, maxOpenFiles int) (s *leveldb.DB, err error)
- func NewSerialDB(path string, batchDelaySeconds int, maxBatchSize int, maxOpenFiles int) (s *leveldb.SerialDB, err error)
- func NewlruDB(size uint32) (storage.Persister, error)
- type MemDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLevelDB ¶
func NewLevelDB(path string, batchDelaySeconds int, maxBatchSize int, maxOpenFiles int) (s *leveldb.DB, err error)
NewLevelDB is a constructor for the leveldb persister It creates the files in the location given as parameter
Types ¶
Click to show internal directories.
Click to hide internal directories.