mirror of
https://github.com/XIU2/CloudflareSpeedTest.git
synced 2026-03-17 04:36:29 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
51aaa16d79 |
@@ -27,8 +27,11 @@ archives:
|
|||||||
darwin: MacOS
|
darwin: MacOS
|
||||||
linux: Linux
|
linux: Linux
|
||||||
windows: Windows
|
windows: Windows
|
||||||
|
freebsd: Freebsd
|
||||||
386: x86
|
386: x86
|
||||||
amd64: x64
|
amd64: x64
|
||||||
|
files:
|
||||||
|
- ip.txt
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
snapshot:
|
||||||
|
|||||||
1
util.go
1
util.go
@@ -89,6 +89,7 @@ const failTime = 4
|
|||||||
type CloudflareIPDataSet []CloudflareIPData
|
type CloudflareIPDataSet []CloudflareIPData
|
||||||
|
|
||||||
func initipEndWith() {
|
func initipEndWith() {
|
||||||
|
rand.Seed(time.Now().UnixNano())
|
||||||
ipEndWith = uint8(rand.Intn(254) + 1)
|
ipEndWith = uint8(rand.Intn(254) + 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user