1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-28 14:56:33 -04:00
v2fly/proxy/freedom/freedomfactory.go
2015-10-14 14:51:19 +02:00

17 lines
330 B
Go

package freedom
import (
"github.com/v2ray/v2ray-core/proxy"
)
type FreedomFactory struct {
}
func (factory FreedomFactory) Create(config interface{}) (proxy.OutboundConnectionHandler, error) {
return NewFreedomConnection(), nil
}
func init() {
proxy.RegisterOutboundConnectionHandlerFactory("freedom", FreedomFactory{})
}