package
module
Version:
v0.0.0-...-713942b
Opens a new window with list of versions in this module.
Published: Apr 1, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GoRedisInit(conf Redis)
func MysqlInit(conf MySQL)
func RedigoInit(conf Redis)
type MySQL struct {
DSN string `yaml:"dsn"`
}
type Redis struct {
Address string `yaml:"address"`
Username string `yaml:"username"`
Password string `yaml:"password"`
DB int `yaml:"db"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.