v2ray-core/main/jsonem/jsonem.go

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,
}))
}