Documentation
¶
Index ¶
- func NewDefaultReadOnlyRocksDb(dataDir string) (*gorocksdb.DB, error)
- func NewDefaultRocksNormalDb(dataDir string) (*gorocksdb.DB, error)
- func NewDefaultRocksTxDb(dataDir string) (*gorocksdb.TransactionDB, error)
- func NewMysqlDB(addr, user, password, dbName string, maxOpenConn, MaxIdleConn int) (*gorm.DB, error)
- func NewRedisClient(addr, password string, dbNum int) *redis.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultRocksTxDb ¶
func NewDefaultRocksTxDb(dataDir string) (*gorocksdb.TransactionDB, error)
func NewMysqlDB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.