mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-02 23:35:40 -05:00
simplify port range
This commit is contained in:
@@ -21,3 +21,8 @@ func (this Port) Bytes() []byte {
|
||||
func (this Port) String() string {
|
||||
return serial.Uint16Literal(this).String()
|
||||
}
|
||||
|
||||
type PortRange struct {
|
||||
From Port
|
||||
To Port
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user