1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-03 17:23:43 -04:00
v2fly/net/freedom/freedomfactory.go

14 lines
305 B
Go
Raw Normal View History

2015-09-11 08:12:09 -04:00
package freedom
import (
"github.com/v2ray/v2ray-core"
2015-09-11 08:12:26 -04:00
v2net "github.com/v2ray/v2ray-core/net"
2015-09-11 08:12:09 -04:00
)
type FreedomFactory struct {
}
2015-09-12 05:51:42 -04:00
func (factory FreedomFactory) Create(vp *core.VPoint, config []byte, dest v2net.VAddress) (core.OutboundConnectionHandler, error) {
return NewVFreeConnection(dest), nil
2015-09-11 08:12:09 -04:00
}