This commit is contained in:
hailong
2021-05-26 19:40:38 +08:00
parent ff0e398a55
commit 26ea2cdc3d
6 changed files with 326 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package main
import (
rpcChat "Open_IM/src/rpc/chat/chat"
"Open_IM/src/utils"
"flag"
)
func main() {
rpcPort := flag.String("port", "", "rpc listening port")
flag.Parse()
rpcServer := rpcChat.NewRpcChatServer(utils.StringToInt(*rpcPort))
rpcServer.Run()
}