1 Star 0 Fork 1

意吟/TankerServer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.lua 697 Bytes
一键复制 编辑 原始数据 按行查看 历史
lsj 提交于 2020-04-01 10:58 . 1.从主线合并
local debug = true
local redis
if debug then
redis = {
auth = "syg23333",
host= "127.0.0.1",
port = 6379,
db = 1
}
else
redis = {
auth = "syg23333",
host= "127.0.0.1",
port = 6379,
db = 1
}
end
local mysql
if debug then
mysql = {
data = "tanker",
user = "root",
auth = "123456",
host = "localhost",
port = 3306,
}
else
mysql = {
data = "tanker",
user = "root",
auth = "123456",
host = "localhost",
port = 3306,
}
end
local server = {
login_channel = "login_channel",
game_channel = "game_channel",
}
local config = {
debug = debug,
redis = redis,
mysql = mysql,
server = server,
}
return config
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Lua
1
https://gitee.com/happykj/TankerServer.git
git@gitee.com:happykj/TankerServer.git
happykj
TankerServer
TankerServer
master

搜索帮助