mirror of https://github.com/fatedier/frp
				
				
				
			version to 0.19.1
							parent
							
								
									040d198e36
								
							
						
					
					
						commit
						c8a7405992
					
				| 
						 | 
				
			
			@ -19,7 +19,7 @@ import (
 | 
			
		|||
	"strings"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var version string = "0.19.0"
 | 
			
		||||
var version string = "0.19.1"
 | 
			
		||||
 | 
			
		||||
func Full() string {
 | 
			
		||||
	return version
 | 
			
		||||
| 
						 | 
				
			
			@ -48,8 +48,8 @@ func Minor(v string) int64 {
 | 
			
		|||
 | 
			
		||||
// add every case there if server will not accept client's protocol and return false
 | 
			
		||||
func Compat(client string) (ok bool, msg string) {
 | 
			
		||||
	if LessThan(client, "0.10.0") {
 | 
			
		||||
		return false, "Please upgrade your frpc version to at least 0.10.0"
 | 
			
		||||
	if LessThan(client, "0.18.0") {
 | 
			
		||||
		return false, "Please upgrade your frpc version to at least 0.18.0"
 | 
			
		||||
	}
 | 
			
		||||
	return true, ""
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue