1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-04 01:07:55 -05:00
v2fly/proxy/internal/creator.go
2016-06-04 14:25:13 +02:00

10 lines
367 B
Go

package internal
import (
"github.com/v2ray/v2ray-core/app"
"github.com/v2ray/v2ray-core/proxy"
)
type InboundHandlerCreator func(space app.Space, config interface{}, meta *proxy.InboundHandlerMeta) (proxy.InboundHandler, error)
type OutboundHandlerCreator func(space app.Space, config interface{}, meta *proxy.OutboundHandlerMeta) (proxy.OutboundHandler, error)