This commit is contained in:
wangchuxiao
2023-02-22 19:51:14 +08:00
parent 2b38381296
commit 94d50a6c71
31 changed files with 500 additions and 602 deletions
+3 -2
View File
@@ -19,7 +19,8 @@ func main() {
wg.Add(1)
log.NewPrivateLog(constant.LogFileName)
fmt.Println("start push rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
push.Init(*rpcPort)
push.Run(*prometheusPort)
pusher := push.Push{}
pusher.Init(*rpcPort)
pusher.Run(*prometheusPort)
wg.Wait()
}