1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-02 23:35:40 -05:00

config for rule based router

This commit is contained in:
V2Ray
2015-11-21 21:43:40 +01:00
parent 794b5081e3
commit d48ac4418f
10 changed files with 170 additions and 12 deletions

View File

@@ -0,0 +1,14 @@
package testing
type PortRange struct {
FromValue uint16
ToValue uint16
}
func (this *PortRange) From() uint16 {
return this.FromValue
}
func (this *PortRange) To() uint16 {
return this.ToValue
}