1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-23 12:02:58 -05:00
Files
v2fly/proxy/creator.go

12 lines
320 B
Go
Raw Normal View History

2016-12-15 15:46:20 +01:00
package proxy
import "v2ray.com/core/app"
2016-12-15 15:46:20 +01:00
type InboundHandlerFactory interface {
Create(space app.Space, config interface{}, meta *InboundHandlerMeta) (InboundHandler, error)
}
type OutboundHandlerFactory interface {
Create(space app.Space, config interface{}, meta *OutboundHandlerMeta) (OutboundHandler, error)
}