1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-28 03:45:26 -05:00

InboundHandler.Proxy()

This commit is contained in:
Darien Raymond
2017-01-15 00:57:06 +01:00
parent 34a2ae0ab7
commit f2b1d5b60c
6 changed files with 42 additions and 6 deletions

View File

@@ -120,6 +120,12 @@ func New(ctx context.Context, config *Config) (*VMessInboundHandler, error) {
return handler, nil
}
func (v *VMessInboundHandler) Network() net.NetworkList {
return net.NetworkList{
Network: []net.Network{net.Network_TCP},
}
}
func (v *VMessInboundHandler) Port() net.Port {
return v.meta.Port
}