Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EnvMysqlUsr represents the environment variable where the mysql's username is located EnvMysqlUsr = "MYSQL_USR" // EnvMysqlPwd represents the environment variable where the mysql's password is located EnvMysqlPwd = "MYSQL_PWD" // EnvMysqlDB represents the environment variable where the mysql's database name is located EnvMysqlDB = "MYSQL_DB" // EnvMysqlHost represents the environment variable where the mysql's host is located EnvMysqlHost = "MYSQL_HOST" // EnvMysqlNetw represents the environment variable where the mysql's network is located EnvMysqlNetw = "SERVICE_NETW" // EnvMysqlPort represents the environment variable where the mysql's port is located EnvMysqlPort = "MYSQL_PORT" // EnvDefaultTimeout represents the environment variable where the default timeout is set EnvDefaultTimeout = "DEFAULT_TIMEOUT" // Timeout for any database request Timeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func OpenStream ¶
OpenStream returns a gateway to the mysql database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.