v2ray-core/proxy/internal/creator.go

10 lines
367 B
Go
Raw Normal View History

package internal
import (
"github.com/v2ray/v2ray-core/app"
2016-01-02 22:32:18 +00:00
"github.com/v2ray/v2ray-core/proxy"
)
2016-06-04 12:25:13 +00:00
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)