mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 19:32:17 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			224 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			224 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package main
 | 
						|
 | 
						|
import (
 | 
						|
	rpcChat "Open_IM/internal/rpc/msg"
 | 
						|
	"flag"
 | 
						|
)
 | 
						|
 | 
						|
func main() {
 | 
						|
	rpcPort := flag.Int("port", 10300, "rpc listening port")
 | 
						|
	flag.Parse()
 | 
						|
	rpcServer := rpcChat.NewRpcChatServer(*rpcPort)
 | 
						|
	rpcServer.Run()
 | 
						|
}
 |