1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-16 02:04:35 -04:00
v2fly/net/socks/socksfactory.go

13 lines
227 B
Go
Raw Normal View History

2015-09-10 18:24:18 -04:00
package socks
import (
"github.com/v2ray/v2ray-core"
)
type SocksServerFactory struct {
}
2015-09-11 08:12:09 -04:00
func (factory SocksServerFactory) Create(vp *core.VPoint) (core.InboundConnectionHandler, error) {
return NewSocksServer(vp), nil
2015-09-10 18:24:18 -04:00
}