add group rpc server

This commit is contained in:
away
2021-06-28 15:36:09 +08:00
parent 9f001ee2e6
commit b6c4948bf2
11 changed files with 800 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package main
import (
"Open_IM/src/rpc/group/group"
"flag"
)
func main() {
rpcPort := flag.Int("port", 10500, "get RpcGroupPort from cmd,default 16000 as port")
flag.Parse()
rpcServer := group.NewGroupServer(*rpcPort)
rpcServer.Run()
}