mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 07:01:09 +00:00
re-enable vmess test
This commit is contained in:
1 parent
8f93612dec
commit
228e1eeabe
11 files changed
+137
-68
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package math
|
||||
|
||||
import (
|
||||
"math/rand"
|
||||
)
|
||||
|
||||
type RandomInt64InRange func(base int64, delta int) int64
|
||||
|
||||
func GenerateRandomInt64InRange(base int64, delta int) int64 {
|
||||
rangeInDelta := rand.Intn(delta*2) - delta
|
||||
return base + int64(rangeInDelta)
|
||||
}
|
||||
Reference in new issue
Block a user