portrange.go 205 B

1234567891011121314
  1. package testing
  2. type PortRange struct {
  3. FromValue uint16
  4. ToValue uint16
  5. }
  6. func (this *PortRange) From() uint16 {
  7. return this.FromValue
  8. }
  9. func (this *PortRange) To() uint16 {
  10. return this.ToValue
  11. }