re-enable vmess test

This commit is contained in:
V2Ray committed 2015-09-16 21:13:13 +02:00
1 parent 8f93612dec
commit 228e1eeabe
11 files changed
+137 -68

No files matched your search

+12
View File
@@ -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)
}