2016-01-01 17:44:11 -05:00
|
|
|
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-01-01 17:44:11 -05:00
|
|
|
)
|
|
|
|
|
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)
|