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 (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"game/server/db/config"
|
"game/server/db/config"
|
||||||
"game/server/db/model"
|
"game/server/db/operation"
|
||||||
"game/server/db/server"
|
"game/server/db/server"
|
||||||
"github.com/fox/fox/log"
|
"github.com/fox/fox/log"
|
||||||
"os"
|
"os"
|
||||||
@ -12,8 +12,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func initRepo() {
|
func initRepo() {
|
||||||
model.InitRedis()
|
operation.InitRedis()
|
||||||
model.InitDb()
|
operation.InitDb()
|
||||||
}
|
}
|
||||||
|
|
||||||
func Run(GitCommit, GitBranch, BuildDate string) {
|
func Run(GitCommit, GitBranch, BuildDate string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user