v2ray-core/proxy/http/json/json.go

16 lines
312 B
Go
Raw Normal View History

2015-10-28 11:13:27 +00:00
package json
import (
"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() {
config.RegisterInboundConnectionConfig("http", json.JsonConfigLoader(func() interface{} {
2015-10-28 11:13:27 +00:00
return new(HttpProxyConfig)
}))
2015-10-28 11:13:27 +00:00
}