1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-19 10:56:06 -05:00
v2fly/main/jsonem/jsonem.go
2019-02-10 19:04:11 +01:00

16 lines
275 B
Go

package jsonem
import (
"v2ray.com/core"
"v2ray.com/core/common"
"v2ray.com/core/infra/conf/serial"
)
func init() {
common.Must(core.RegisterConfigLoader(&core.ConfigFormat{
Name: "JSON",
Extension: []string{"json"},
Loader: serial.LoadJSONConfig,
}))
}