This commit is contained in:
wenxu12345
2022-04-06 15:33:16 +08:00
parent 83228d8aa6
commit ef4d0c3c42
15 changed files with 38 additions and 3 deletions
+2
View File
@@ -5,6 +5,7 @@ import (
"Open_IM/pkg/common/constant"
"Open_IM/pkg/common/log"
"flag"
"fmt"
"sync"
)
@@ -15,6 +16,7 @@ func main() {
flag.Parse()
var wg sync.WaitGroup
wg.Add(1)
fmt.Println("start rpc/msg_gateway server, port: ", *rpcPort, *wsPort)
gate.Init(*rpcPort, *wsPort)
gate.Run()
wg.Wait()