1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-28 14:56:33 -04:00
v2fly/proxy/creator.go
2017-01-12 12:54:34 +01:00

12 lines
320 B
Go

package proxy
import "v2ray.com/core/app"
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)
}