2021-10-11 21:51:37 +08:00

15 lines
248 B
Go

package main
import (
"Open_IM/internal/rpc/friend"
"flag"
)
func main() {
rpcPort := flag.Int("port", 10200, "get RpcFriendPort from cmd,default 12000 as port")
flag.Parse()
rpcServer := friend.NewFriendServer(*rpcPort)
rpcServer.Run()
}