mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
16 lines
274 B
Go
16 lines
274 B
Go
package jsonem
|
|
|
|
import (
|
|
"v2ray.com/core"
|
|
"v2ray.com/core/common"
|
|
"v2ray.com/ext/tools/conf/serial"
|
|
)
|
|
|
|
func init() {
|
|
common.Must(core.RegisterConfigLoader(&core.ConfigFormat{
|
|
Name: "JSON",
|
|
Extension: []string{"json"},
|
|
Loader: serial.LoadJSONConfig,
|
|
}))
|
|
}
|