repo.go 528 B

123456789101112131415
  1. package repo
  2. import (
  3. "github.com/v2ray/v2ray-core/app"
  4. "github.com/v2ray/v2ray-core/proxy"
  5. "github.com/v2ray/v2ray-core/proxy/internal"
  6. )
  7. func CreateInboundConnectionHandler(name string, space app.Space, rawConfig []byte) (proxy.InboundHandler, error) {
  8. return internal.CreateInboundConnectionHandler(name, space, rawConfig)
  9. }
  10. func CreateOutboundConnectionHandler(name string, space app.Space, rawConfig []byte) (proxy.OutboundHandler, error) {
  11. return internal.CreateOutboundConnectionHandler(name, space, rawConfig)
  12. }