db服
This commit is contained in:
parent
e0e44380b7
commit
deeeacd6ac
7
common/rpcName/topicName.go
Normal file
7
common/rpcName/topicName.go
Normal file
@ -0,0 +1,7 @@
|
||||
package rpcName
|
||||
|
||||
const (
|
||||
GetUserAccount = "get.user.account.rpc"
|
||||
CreateUserAccount = "create.user.account.rpc"
|
||||
UpdateUserPassword = "update.user.password.rpc"
|
||||
)
|
@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"fmt"
|
||||
"game/server/db/config"
|
||||
"game/server/db/model"
|
||||
"game/server/db/operation"
|
||||
"game/server/db/server"
|
||||
"github.com/fox/fox/log"
|
||||
"os"
|
||||
@ -12,8 +12,8 @@ import (
|
||||
)
|
||||
|
||||
func initRepo() {
|
||||
model.InitRedis()
|
||||
model.InitDb()
|
||||
operation.InitRedis()
|
||||
operation.InitDb()
|
||||
}
|
||||
|
||||
func Run(GitCommit, GitBranch, BuildDate string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user