v2ray-core/net/freedom/freedomfactory.go

14 lines
305 B
Go
Raw Normal View History

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