func init() { json.RegisterConfigType("vmess", config.TypeInbound, func() interface{} { return new(VMessInboundConfig) }) json.RegisterConfigType("vmess", config.TypeOutbound, func() interface{} { return new(VMessOutboundConfig) }) }
func init() { json.RegisterConfigType("socks", config.TypeInbound, func() interface{} { return new(SocksConfig) }) }
func init() { jsonconfig.RegisterConfigType("vmess", config.TypeOutbound, func() interface{} { return new(Outbound) }) }
func init() { json.RegisterConfigType("freedom", config.TypeOutbound, func() interface{} { return &FreedomConfiguration{} }) }