mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-08-01 05:08:28 +00:00
14 lines
278 B
Go
14 lines
278 B
Go
![]() |
package proxy
|
||
|
|
||
|
import (
|
||
|
"github.com/v2ray/v2ray-core/app"
|
||
|
)
|
||
|
|
||
|
type InboundConnectionHandlerFactory interface {
|
||
|
Create(dispatch app.PacketDispatcher, config interface{}) (InboundConnectionHandler, error)
|
||
|
}
|
||
|
|
||
|
type InboundConnectionHandler interface {
|
||
|
Listen(port uint16) error
|
||
|
}
|