mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-04 00:25:04 +00:00
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
|
|
}
|