mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
11 lines
196 B
Go
11 lines
196 B
Go
package testing
|
|
|
|
import (
|
|
"github.com/v2ray/v2ray-core/common/dice"
|
|
v2net "github.com/v2ray/v2ray-core/common/net"
|
|
)
|
|
|
|
func PickPort() v2net.Port {
|
|
return v2net.Port(30000 + dice.Roll(10000))
|
|
}
|