json.go 324 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 FreedomConfiguration struct {
  7. }
  8. func init() {
  9. config.RegisterOutboundConnectionConfig("freedom", json.JsonConfigLoader(func() interface{} {
  10. return &FreedomConfiguration{}
  11. }))
  12. }