freedomfactory.go 337 B

1234567891011121314
  1. package freedom
  2. import (
  3. "github.com/v2ray/v2ray-core/app"
  4. "github.com/v2ray/v2ray-core/proxy"
  5. "github.com/v2ray/v2ray-core/proxy/internal"
  6. )
  7. func init() {
  8. internal.MustRegisterOutboundHandlerCreator("freedom",
  9. func(space app.Space, config interface{}) (proxy.OutboundHandler, error) {
  10. return &FreedomConnection{}, nil
  11. })
  12. }