mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Update apitest test config options
This commit is contained in:
parent
852f7ab3c6
commit
c1ece10b79
1 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ func main() {
|
||||||
config.Register(&config.Option{
|
config.Register(&config.Option{
|
||||||
Name: "Favor Countries",
|
Name: "Favor Countries",
|
||||||
Key: "test/fav_countries",
|
Key: "test/fav_countries",
|
||||||
Description: "Specify favored Countries. These will be favored if route costs are similar.",
|
Description: "Specify favored Countries. These will be favored if route costs are similar. Specify with 2-Letter County Code, use \"A1\" for Anonymous Proxies and \"A2\" for Satellite Providers. Database used is provided by MaxMind.",
|
||||||
ExpertiseLevel: config.ExpertiseLevelUser,
|
ExpertiseLevel: config.ExpertiseLevelUser,
|
||||||
OptType: config.OptTypeStringArray,
|
OptType: config.OptTypeStringArray,
|
||||||
ExternalOptType: "country list",
|
ExternalOptType: "country list",
|
||||||
|
@ -126,8 +126,8 @@ func main() {
|
||||||
ExpertiseLevel: config.ExpertiseLevelExpert,
|
ExpertiseLevel: config.ExpertiseLevelExpert,
|
||||||
OptType: config.OptTypeInt,
|
OptType: config.OptTypeInt,
|
||||||
ExternalOptType: "security level",
|
ExternalOptType: "security level",
|
||||||
DefaultValue: 0,
|
DefaultValue: 3,
|
||||||
ValidationRegex: "^(0|1|2|3)$",
|
ValidationRegex: "^(1|2|3)$",
|
||||||
})
|
})
|
||||||
|
|
||||||
// Shutdown
|
// Shutdown
|
||||||
|
|
Loading…
Add table
Reference in a new issue