mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-22 23:13:46 +00:00
unified config loader
This commit is contained in:
1 parent
3f7b70a465
commit
e732ba62a6
18 files changed
+257
-215
No files matched your search
@@ -0,0 +1,12 @@
|
||||
// +build json
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/common/loader"
|
||||
)
|
||||
|
||||
func init() {
|
||||
inboundConfigCache = loader.NewJSONConfigLoader("protocol", "settings")
|
||||
outboundConfigCache = loader.NewJSONConfigLoader("protocol", "settings")
|
||||
}
|
||||
Reference in new issue
Block a user