// Scan performs the scan to be performed on the given host and stores its result.
Scan performs the scan to be performed on the given host and stores its result.
// Scan performs the scan to be performed on the given host and stores its result .
func (s *Scanner) Scan(addr, hostname string) (Grade, Output, error) {
	grade, output, err := s.scan(addr, hostname)
	if err != nil {
		log.Debugf("scan: %v", err)
		return grade, output, err
	}
	return grade, output, err
}
func ( s * Scanner ) Scan ( addr , hostname string ) ( Grade , Output , error ) { grade , output , err := s . scan ( addr , hostname ) if err != nil { log . Debugf ( " " , err ) return grade , output , err } return grade , output , err }
Scan performs the scan to be performed on the given host and stores its result.
Scan performs the scan to be performed on the given host and stores its result .