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:
14
common/net/testing/portrange.go
Normal file
14
common/net/testing/portrange.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user