mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-01 00:16:26 +00:00
rename InboundConnectionHandler to InboundHandler
This commit is contained in:
+1
-1
@@ -5,5 +5,5 @@ import (
|
||||
)
|
||||
|
||||
type InboundHandlerManager interface {
|
||||
GetHandler(tag string) (proxy.InboundConnectionHandler, int)
|
||||
GetHandler(tag string) (proxy.InboundHandler, int)
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user