inbound_connection.go 278 B

12345678910111213
  1. package proxy
  2. import (
  3. "github.com/v2ray/v2ray-core/app"
  4. )
  5. type InboundConnectionHandlerFactory interface {
  6. Create(dispatch app.PacketDispatcher, config interface{}) (InboundConnectionHandler, error)
  7. }
  8. type InboundConnectionHandler interface {
  9. Listen(port uint16) error
  10. }