rename InboundConnectionHandler to InboundHandler

This commit is contained in:
v2ray committed 2016-01-25 17:18:24 +01:00
1 parent 4817f8ab1f
commit 9fe8178e4a
21 files changed
+37 -37

No files matched your search

+1 -1
View File
@@ -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
})
+1 -1
View File
@@ -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
})
}