MCPcopy Create free account
hub / github.com/corny/dnscheck / Each

Function Each

export/nameserver.go:104–144  ·  view source on GitHub ↗

Each iterates over all Nameserver records and calls the callback for each. If the callback returns an error, the iteration stops and that error is returned (note: other errors can be returned from this as well).

(conn *sql.DB, batchSize uint, callback func(*Nameserver) error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

RunMethod · 0.85

Calls 2

scanRowFunction · 0.85
CloseMethod · 0.45

Tested by

no test coverage detected