json.go 312 B

123456789101112131415
  1. package json
  2. import (
  3. "github.com/v2ray/v2ray-core/proxy/internal/config"
  4. "github.com/v2ray/v2ray-core/proxy/internal/config/json"
  5. )
  6. type HttpProxyConfig struct {
  7. }
  8. func init() {
  9. config.RegisterInboundConnectionConfig("http", json.JsonConfigLoader(func() interface{} {
  10. return new(HttpProxyConfig)
  11. }))
  12. }