MCPcopy Create free account
hub / github.com/MengMengCode/GetRealityDomain / BatchScan

Function BatchScan

scanner.go:189–193  ·  view source on GitHub ↗

BatchScan 批量扫描

(hostChan <-chan Host, resultChan chan<- ScanResult, geo *Geo)

Source from the content-addressed store, hash-verified

187
188// BatchScan 批量扫描
189func BatchScan(hostChan <-chan Host, resultChan chan<- ScanResult, geo *Geo) {
190 for host := range hostChan {
191 ScanTLS(host, resultChan, geo)
192 }
193}
194
195// ScanWithConcurrency 并发扫描
196func ScanWithConcurrency(hostChan <-chan Host, geo *Geo) <-chan ScanResult {

Callers 1

ScanWithConcurrencyFunction · 0.85

Calls 1

ScanTLSFunction · 0.85

Tested by

no test coverage detected