Files
open-im-server/src/rpc/user/open_im_user.go
T

14 lines
211 B
Go
Raw Normal View History

2021-05-26 19:38:34 +08:00
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()
}