user rpc service initial commit

This commit is contained in:
away
2021-05-26 19:38:34 +08:00
parent 62d5714093
commit 2c3d0ae0e8
4 changed files with 161 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package main
import (
"Open_IM/src/rpc/user/user"
"flag"
)
func main() {
rpcPort := flag.Int("port", 10100, "rpc listening port")
flag.Parse()
rpcServer := user.NewUserServer(*rpcPort)
rpcServer.Run()
}