package
Version:
v0.0.0-...-d6600ca
Opens a new window with list of versions in this module.
Published: Aug 19, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 9
Opens a new window with list of known importers.
Documentation
¶
View Source
var JdbcUrilTemplate = "jdbc:mysql://%[1]v:%[2]v/%[3]v?user=%[4]v&password=%[5]v"
type MySQLBinding struct {
Host string `json:"host"`
Hostname string `json:"hostname"`
Port string `json:"port"`
Username string `json:"username"`
User string `json:"user"`
Password string `json:"password"`
Database string `json:"database"`
JdbcUrl string `json:"jdbcUrl"`
}
type MySQLConfig struct {
User string `env:"SERVICE_MYSQL_USER"`
Pass string `env:"SERVICE_MYSQL_PASS"`
Host string `env:"SERVICE_MYSQL_HOST"`
Port string `env:"SERVICE_MYSQL_PORT" envDefault:"3306"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.