1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-10-04 08:04:05 -04:00
Files
v2fly/common/net/testing/portrange.go

15 lines
205 B
Go
Raw Normal View History

2015-11-21 21:43:40 +01:00
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
}