mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-17 18:06:15 -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,
|
|
}))
|
|
}
|