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,11 +2,14 @@ package main
import (
"Open_IM/internal/msg_gateway/gate"
"Open_IM/pkg/common/constant"
"Open_IM/pkg/common/log"
"flag"
"sync"
)
func main() {
log.NewPrivateLog(constant.LogFileName)
rpcPort := flag.Int("rpc_port", 10400, "rpc listening port")
wsPort := flag.Int("ws_port", 17778, "ws listening port")
flag.Parse()