v2ray-core/proxy/creator.go

12 lines
320 B
Go
Raw Normal View History

2016-12-15 14:46:20 +00:00
package proxy
import "v2ray.com/core/app"
2016-12-15 14:46:20 +00: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)
}