| 
					
				 | 
			
			
				@@ -1,20 +1,19 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // Package core provides common definitions and functionalities of V2Ray. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 package core 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-var ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	version = "0.8" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	build   = "Custom" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	"fmt" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	Codename = "Post Apocalypse" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	Intro    = "A stable and unbreakable connection for everyone." 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+var ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	version  = "0.8" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	build    = "Custom" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	codename = "Post Apocalypse" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	intro    = "A stable and unbreakable connection for everyone." 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-func Version() string { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	return version 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-func Build() string { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	return build 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+func PrintVersion() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	fmt.Printf("V2Ray %s (%s) %s", version, codename, build) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	fmt.Println() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	fmt.Println(intro) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |