Documentation
¶
Index ¶
Constants ¶
View Source
const (
PROFILE_PERSIST_URL = "/persist/profile"
)
Variables ¶
View Source
var MYSQL_ONLINE = MySQLConfig{
User: "root",
Password: "Zi7d9ZnEC6vY3Nmt",
IP: "60.205.219.136",
Port: 3306,
DataBase: "std",
}
View Source
var MYSQL_TEST = MySQLConfig{
User: "root",
Password: "root",
IP: "127.0.0.1",
Port: 3306,
DataBase: "std",
}
View Source
var REDIS_ONLINE = redis.Options{
Network: "tcp",
Addr: "60.205.219.136:6379",
Password: "myT2ltslNLx9r7Lm",
}
View Source
var REDIS_TEST = redis.Options{
Network: "tcp",
Addr: "127.0.0.1:6379",
Password: "myT2ltslNLx9r7Lm",
}
Functions ¶
func MySQL_URL ¶
func MySQL_URL(config MySQLConfig) string
Types ¶
Click to show internal directories.
Click to hide internal directories.