config_json.go 241 B

1234567891011121314
  1. // +build json
  2. package freedom
  3. import (
  4. "github.com/v2ray/v2ray-core/proxy/internal/config"
  5. )
  6. func init() {
  7. config.RegisterOutboundConnectionConfig("freedom",
  8. func(data []byte) (interface{}, error) {
  9. return new(Config), nil
  10. })
  11. }