json.go 264 B

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