freedomfactory.go 294 B

12345678910111213
  1. package freedom
  2. import (
  3. "github.com/v2ray/v2ray-core"
  4. v2net "github.com/v2ray/v2ray-core/net"
  5. )
  6. type FreedomFactory struct {
  7. }
  8. func (factory FreedomFactory) Create(vp *core.VPoint, dest v2net.VAddress) (core.OutboundConnectionHandler, error) {
  9. return NewVFreeConnection(vp, dest), nil
  10. }