Commit Graph

18 Commits

Author SHA1 Message Date
nobody 44bb83033f
Add sub-command "-dump" to "run". (#2854)
* Add MarshalToJson().

* Add cmd arg -dump for printing out merged multiple json configs.

---------

Co-authored-by: nobody <nobody@nowhere.mars>
2023-12-29 11:16:48 -05:00
冬花ice 017b56adf5
Recognize .jsonc files automatically (#2398)
Closes https://github.com/XTLS/Xray-core/issues/2399
2023-08-06 06:47:31 +00:00
yuhan6665 e286cdcaa8
Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00
KallyDev 4abf98c1be
Move from deprecated ioutil to os and io packages (#744) 2021-09-29 02:49:34 +08:00
秋のかえで b0e7ad9663
Fix: format flag not working (#410) 2021-03-21 09:13:51 +00:00
RPRX 4b97edae74
Fix https://github.com/XTLS/Xray-core/issues/320 2021-03-01 01:29:17 +00:00
Monsoon 1b87264c53
Support loading config from different formats (#228) 2021-02-12 14:12:58 +00:00
RPRX ee15cc253f
Improve configuration detector (cone or symmetric) 2021-01-10 07:50:21 +00:00
秋のかえで 9d4038427d
Enable loading TOML & YAML by confdir (#120) 2021-01-01 12:16:22 +00:00
RPRX 310a938511
VLESS & VMess are not ready to accept FullCone yet 2020-12-30 08:10:26 +00:00
RPRX ffd8fd1d8a Adjust JSON & TOML & YAML 2020-12-25 18:53:17 +08:00
Monsoon 85619b5a29
Add YAML Support (#86) 2020-12-24 19:30:26 +00:00
秋のかえで f073456ac0
Add TOML Support (#98) 2020-12-24 19:11:32 +00:00
Jim Han 19ce0e99a5
Config loader returns error instead of directly panic (#80) 2020-12-16 12:35:27 +00:00
RPRX 45f44c401a
Refactor: Optimize Memory Usage At Startup
https://github.com/XTLS/Xray-core/issues/68#issuecomment-745231528
2020-12-15 20:27:18 +08:00
Arthur Morgan 32e7cd80e8
Fix trim package name error (#36) 2020-12-05 00:51:36 +00:00
RPRX 16544c18ab v1.1.0 2020-12-04 09:36:16 +08:00
RPRX c7f7c08ead v1.0.0 2020-11-25 19:01:53 +08:00