11 lines
418 B
Go
Raw Normal View History

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