mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 15:45:39 +00:00
client: add start params
Proxy names specified in 'start' params divided by ',' will be started. If it is empty or not defined, all proxies will be started.
This commit is contained in:
@@ -19,7 +19,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
var version string = "0.10.0"
|
||||
var version string = "0.11.0"
|
||||
|
||||
func Full() string {
|
||||
return version
|
||||
@@ -54,8 +54,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, version) {
|
||||
return false, "Please upgrade your frpc version to 0.10.0"
|
||||
if LessThan(client, "0.10.0") {
|
||||
return false, "Please upgrade your frpc version to at least 0.10.0"
|
||||
}
|
||||
return true, ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user