This commit is contained in:
wenxu12345
2022-04-05 19:31:35 +08:00
parent 6efe13d142
commit 0232f52281
11 changed files with 58 additions and 53 deletions
+3
View File
@@ -2,6 +2,8 @@ package main
import (
"Open_IM/internal/push/logic"
"Open_IM/pkg/common/constant"
"Open_IM/pkg/common/log"
"flag"
"sync"
)
@@ -11,6 +13,7 @@ func main() {
flag.Parse()
var wg sync.WaitGroup
wg.Add(1)
log.NewPrivateLog(constant.LogFileName)
logic.Init(*rpcPort)
logic.Run()
wg.Wait()