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

Method parseProbesToMapKName

ServerScan Air/package/vscan/vscan.go:244–250  ·  view source on GitHub ↗
(probes []Probe)

Source from the content-addressed store, hash-verified

242}
243
244func (v *VScan) parseProbesToMapKName(probes []Probe) {
245 var probesMap = map[string]Probe{}
246 for _, probe := range v.Probes {
247 probesMap[probe.Name] = probe
248 }
249 v.ProbesMapKName = probesMap
250}
251
252func (p *Probe) getMatch(data string) (match Match, err error) {
253 match = Match{}

Callers 1

InitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected