rename InboundConnectionHandler to InboundHandler

This commit is contained in:
v2ray
2016-01-25 17:18:24 +01:00
parent 4817f8ab1f
commit 9fe8178e4a
21 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -5,5 +5,5 @@ import (
)
type InboundHandlerManager interface {
GetHandler(tag string) (proxy.InboundConnectionHandler, int)
GetHandler(tag string) (proxy.InboundHandler, int)
}
+2 -2
View File
@@ -6,7 +6,7 @@ import (
)
type InboundHandlerManagerWithContext interface {
GetHandler(context app.Context, tag string) (proxy.InboundConnectionHandler, int)
GetHandler(context app.Context, tag string) (proxy.InboundHandler, int)
}
type inboundHandlerManagerWithContext struct {
@@ -14,6 +14,6 @@ type inboundHandlerManagerWithContext struct {
manager InboundHandlerManagerWithContext
}
func (this *inboundHandlerManagerWithContext) GetHandler(tag string) (proxy.InboundConnectionHandler, int) {
func (this *inboundHandlerManagerWithContext) GetHandler(tag string) (proxy.InboundHandler, int) {
return this.manager.GetHandler(this.context, tag)
}