Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnectionStr ¶
func GetConnectionStr() string
func IsSQLiteDialect ¶
func IsSQLiteDialect() bool
func ResetConfig ¶
func ResetConfig(rdbi *DBConfig)
Types ¶
type DBConfig ¶
type DBConfig struct { Dialect string `yaml:"dialect"` Database string `yaml:"database"` User string `yaml:"user"` Password string `yaml:"password"` Host string `yaml:"host"` Port int `yaml:"port"` Pool int `yaml:"pool"` SslMode string `yaml:"sslmode"` FilePath string `yaml:"filePath"` // contains filtered or unexported fields }
func (*DBConfig) GetConnectionStr ¶
func (*DBConfig) GetSQLAlchemyDatabaseURIgo ¶
Click to show internal directories.
Click to hide internal directories.