add mongo test case: auth

This commit is contained in:
LiuYang
2018-08-30 11:38:08 +08:00
committed by 云风
parent 7e63080c03
commit ce0cdc7bd3
4 changed files with 52 additions and 1 deletions

12
examples/main_mongodb.lua Normal file
View File

@@ -0,0 +1,12 @@
local skynet = require "skynet"
skynet.start(function()
print("Main Server start")
local console = skynet.newservice(
"testmongodb", "127.0.0.1", 27017, "testdb", "test", "test"
)
print("Main Server exit")
skynet.exit()
end)