mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 17:38:41 +00:00
Add TOML Support (#98)
This commit is contained in:
parent
09f9d03fb6
commit
f073456ac0
7 changed files with 96 additions and 0 deletions
|
@ -154,6 +154,8 @@ func getConfigFormat() string {
|
|||
switch strings.ToLower(*format) {
|
||||
case "pb", "protobuf":
|
||||
return "protobuf"
|
||||
case "toml":
|
||||
return "toml"
|
||||
default:
|
||||
return "json"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue