1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-26 12:05:35 -05:00

announce deprecated proto settings

This commit is contained in:
Darien Raymond
2018-09-21 16:54:06 +02:00
parent 97f232cd5d
commit 909cb9b27a
6 changed files with 18 additions and 0 deletions

View File

@@ -14,3 +14,7 @@ func CreateObject(v *Instance, config interface{}) (interface{}, error) {
}
return common.CreateObject(ctx, config)
}
func PrintDeprecatedFeatureWarning(feature string) {
newError("You are using a deprecated feature: " + feature + ". Please update your config file with latest configuration format, or update your client software.")
}