v2ray-core/proxy/repo/repo.go

16 lines
488 B
Go
Raw Normal View History

2016-01-02 22:32:18 +00: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 16:23:10 +00:00
func CreateInboundHandler(name string, space app.Space, rawConfig []byte) (proxy.InboundHandler, error) {
return internal.CreateInboundHandler(name, space, rawConfig)
2016-01-02 22:32:18 +00:00
}
2016-01-25 16:23:10 +00:00
func CreateOutboundHandler(name string, space app.Space, rawConfig []byte) (proxy.OutboundHandler, error) {
return internal.CreateOutboundHandler(name, space, rawConfig)
2016-01-02 22:32:18 +00:00
}