mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
14 lines
211 B
Go
14 lines
211 B
Go
package main
|
|
|
|
import (
|
|
"Open_IM/internal/rpc/user"
|
|
"flag"
|
|
)
|
|
|
|
func main() {
|
|
rpcPort := flag.Int("port", 10100, "rpc listening port")
|
|
flag.Parse()
|
|
rpcServer := user.NewUserServer(*rpcPort)
|
|
rpcServer.Run()
|
|
}
|