2015-10-28 11:13:27 +00:00
|
|
|
package json
|
|
|
|
|
|
|
|
import (
|
2016-01-02 16:40:51 +00:00
|
|
|
"github.com/v2ray/v2ray-core/proxy/internal/config"
|
|
|
|
"github.com/v2ray/v2ray-core/proxy/internal/config/json"
|
2015-10-28 11:13:27 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type HttpProxyConfig struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
2016-01-02 16:40:51 +00:00
|
|
|
config.RegisterInboundConnectionConfig("http", json.JsonConfigLoader(func() interface{} {
|
2015-10-28 11:13:27 +00:00
|
|
|
return new(HttpProxyConfig)
|
2016-01-02 16:40:51 +00:00
|
|
|
}))
|
2015-10-28 11:13:27 +00:00
|
|
|
}
|