You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/cmd/rpc/open_im_msg/main.go

15 lines
265 B

4 years ago
package main
import (
3 years ago
rpcChat "Open_IM/internal/rpc/chat"
"Open_IM/pkg/utils"
4 years ago
"flag"
)
func main() {
rpcPort := flag.String("port", "", "rpc listening port")
flag.Parse()
rpcServer := rpcChat.NewRpcChatServer(utils.StringToInt(*rpcPort))
rpcServer.Run()
}