mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-16 14:53:12 +00:00
Version 1.0 alpha
This commit is contained in:
1 parent
f3a12e9f57
commit
cc3fdb6ef4
21 files changed
+279
-103
No files matched your search
@@ -10,3 +10,7 @@ type SocksServerFactory struct {
|
||||
func (factory SocksServerFactory) Create(vp *core.VPoint, config []byte) (core.InboundConnectionHandler, error) {
|
||||
return NewSocksServer(vp, config), nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
core.RegisterInboundConnectionHandlerFactory("socks", SocksServerFactory{})
|
||||
}
|
||||
Reference in new issue
Block a user