mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-01 00:42:13 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			241 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			241 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package main
 | |
| 
 | |
| import (
 | |
| 	rpcAuth "Open_IM/internal/rpc/auth"
 | |
| 	"flag"
 | |
| )
 | |
| 
 | |
| func main() {
 | |
| 	rpcPort := flag.Int("port", 10600, "RpcToken default listen port 10800")
 | |
| 	flag.Parse()
 | |
| 	rpcServer := rpcAuth.NewRpcAuthServer(*rpcPort)
 | |
| 	rpcServer.Run()
 | |
| }
 |