mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-17 22:57:10 +00:00
move connhandler to proxy
This commit is contained in:
1 parent
54ce82fbfa
commit
0780db7999
21 files changed
+76
-81
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package repo
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/app"
|
||||
"github.com/v2ray/v2ray-core/proxy"
|
||||
"github.com/v2ray/v2ray-core/proxy/internal"
|
||||
)
|
||||
|
||||
func CreateInboundConnectionHandler(name string, space app.Space, rawConfig []byte) (proxy.InboundConnectionHandler, error) {
|
||||
return internal.CreateInboundConnectionHandler(name, space, rawConfig)
|
||||
}
|
||||
|
||||
func CreateOutboundConnectionHandler(name string, space app.Space, rawConfig []byte) (proxy.OutboundConnectionHandler, error) {
|
||||
return internal.CreateOutboundConnectionHandler(name, space, rawConfig)
|
||||
}
|
||||
Reference in new issue
Block a user