Add TOML Support (#98)

This commit is contained in:
秋のかえで 2020-12-25 03:11:32 +08:00 committed by GitHub
parent 09f9d03fb6
commit f073456ac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 96 additions and 0 deletions

View file

@ -63,6 +63,8 @@ import (
// The following line loads JSON internally
_ "github.com/xtls/xray-core/main/jsonem"
_ "github.com/xtls/xray-core/main/toml"
// Load config from file or http(s)
_ "github.com/xtls/xray-core/main/confloader/external"