package
Version:
v0.0.0-...-ace9e8d
Opens a new window with list of versions in this module.
Published: Aug 4, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
ErrorNoConfig = errors.New("database: no conf file")
ErrorUnsupportedDatabase = errors.New("database: unsupported database kind")
ErrorOpenConnection = errors.New("database: open connection failed")
ErrorNoConnection = errors.New("database: no connection available")
)
type Config struct {
Kind string `yaml:"Kind"`
Host string `yaml:"Host"`
Port int `yaml:"Port"`
Username string `yaml:"Username"`
Password string `yaml:"Password"`
DB string `yaml:"DB"`
Charset string `yaml:"Charset"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.