1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-10 05:54:22 -04:00
v2fly/proxy/internal/creator.go

11 lines
418 B
Go
Raw Normal View History

package internal
import (
"github.com/v2ray/v2ray-core/app"
2016-06-03 18:38:22 -04:00
v2net "github.com/v2ray/v2ray-core/common/net"
2016-01-02 17:32:18 -05:00
"github.com/v2ray/v2ray-core/proxy"
)
2016-06-03 18:38:22 -04:00
type InboundHandlerCreator func(space app.Space, config interface{}, listenOn v2net.Address, port v2net.Port) (proxy.InboundHandler, error)
type OutboundHandlerCreator func(space app.Space, config interface{}, sendThrough v2net.Address) (proxy.OutboundHandler, error)