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