Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMockDBConfig ¶
func GetMockDBConfig(path string) *conf.StorageConfig
GetMockDBConfig 返回一个存储配置对象 @Description: @param path @return *conf.StorageConfig
Types ¶
type DBFactory ¶
type DBFactory struct { }
DBFactory db factory struct @Description:
func NewDBFactory ¶
func NewDBFactory() *DBFactory
NewDBFactory new factory @Description: @return *DBFactory
type EntryGenerator ¶
EntryGenerator interface @Description:
func NewFullRandomEntryGenerator ¶
func NewFullRandomEntryGenerator(start, n int) EntryGenerator
NewFullRandomEntryGenerator 创建迭代器 @Description: @param start @param n @return EntryGenerator
Click to show internal directories.
Click to hide internal directories.