MCPcopy Create free account
hub / github.com/Adminisme/ServerScan / Init

Method Init

ServerScan Air/package/vscan/vscan.go:1008–1014  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1006}
1007
1008func (v *VScan) Init() {
1009 proberContent := bytes.NewReader(proberbyte.GetProber())
1010 proberReader, _ := gzip.NewReader(proberContent)
1011 proberStr, _ := ioutil.ReadAll(proberReader)
1012 v.parseProbesFromContent(string(proberStr))
1013 v.parseProbesToMapKName(v.Probes)
1014}
1015
1016func GetProbes(aliveHosts []string) {
1017 v := VScan{}

Callers 1

GetProbesFunction · 0.95

Calls 2

parseProbesToMapKNameMethod · 0.95

Tested by

no test coverage detected