| 12345678910111213141516171819 |
- package internal
- import (
- "github.com/v2ray/v2ray-core/app"
- "github.com/v2ray/v2ray-core/proxy/common/connhandler"
- )
- type InboundHandlerManagerWithContext interface {
- GetHandler(context app.Context, tag string) (connhandler.InboundConnectionHandler, int)
- }
- type inboundHandlerManagerWithContext struct {
- context app.Context
- manager InboundHandlerManagerWithContext
- }
- func (this *inboundHandlerManagerWithContext) GetHandler(tag string) (connhandler.InboundConnectionHandler, int) {
- return this.manager.GetHandler(this.context, tag)
- }
|