2016-01-02 17:32:18 -05:00
|
|
|
package repo
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/v2ray/v2ray-core/app"
|
|
|
|
"github.com/v2ray/v2ray-core/proxy"
|
|
|
|
"github.com/v2ray/v2ray-core/proxy/internal"
|
|
|
|
)
|
|
|
|
|
2016-01-25 11:23:10 -05:00
|
|
|
func CreateInboundHandler(name string, space app.Space, rawConfig []byte) (proxy.InboundHandler, error) {
|
|
|
|
return internal.CreateInboundHandler(name, space, rawConfig)
|
2016-01-02 17:32:18 -05:00
|
|
|
}
|
|
|
|
|
2016-01-25 11:23:10 -05:00
|
|
|
func CreateOutboundHandler(name string, space app.Space, rawConfig []byte) (proxy.OutboundHandler, error) {
|
|
|
|
return internal.CreateOutboundHandler(name, space, rawConfig)
|
2016-01-02 17:32:18 -05:00
|
|
|
}
|