mirror of https://github.com/v2ray/v2ray-core
15 lines
205 B
Go
15 lines
205 B
Go
|
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
|
||
|
}
|