func init() { proxyconfig.RegisterOutboundConnectionConfig("vmess", func(data []byte) (interface{}, error) { rawConfig := new(Config) if err := json.Unmarshal(data, rawConfig); err != nil { return nil, err } return rawConfig, nil }) }
func init() { config.RegisterOutboundConnectionConfig("freedom", func(data []byte) (interface{}, error) { return new(Config), nil }) }
func init() { config.RegisterOutboundConnectionConfig("blackhole", json.JsonConfigLoader(func() interface{} { return new(BlackHoleConfig) })) }
func init() { config.RegisterOutboundConnectionConfig("freedom", json.JsonConfigLoader(func() interface{} { return &FreedomConfiguration{} })) }
func init() { proxyconfig.RegisterOutboundConnectionConfig("vmess", jsonconfig.JsonConfigLoader(func() interface{} { return new(Outbound) })) }