mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-03 00:22:05 +00:00
rename InboundConnectionHandler to InboundHandler
This commit is contained in:
1 parent
4817f8ab1f
commit
9fe8178e4a
21 files changed
+37
-37
No files matched your search
@@ -48,7 +48,7 @@ func TestUDPSend(t *testing.T) {
|
||||
}
|
||||
|
||||
protocol, err := proxytesting.RegisterInboundConnectionHandlerCreator("mock_ich",
|
||||
func(space app.Space, config interface{}) (v2proxy.InboundConnectionHandler, error) {
|
||||
func(space app.Space, config interface{}) (v2proxy.InboundHandler, error) {
|
||||
ich.Space = space
|
||||
return ich, nil
|
||||
})
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func init() {
|
||||
internal.MustRegisterOutboundConnectionHandlerCreator("freedom",
|
||||
func(space app.Space, config interface{}) (proxy.OutboundConnectionHandler, error) {
|
||||
func(space app.Space, config interface{}) (proxy.OutboundHandler, error) {
|
||||
return &FreedomConnection{space: space}, nil
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user