add "-full-scan" scan option to gonic scan

closes #20
This commit is contained in:
sentriz
2020-04-24 01:42:26 +01:00
parent 5bd57c42d5
commit b95f98ffcf
8 changed files with 695 additions and 684 deletions

View File

@@ -208,7 +208,7 @@ func (s *Server) StartScanTicker(dur time.Duration) (funcExecute, funcInterrupt)
case <-done:
return nil
case <-ticker.C:
if err := s.scanner.Start(); err != nil {
if err := s.scanner.StartInc(); err != nil {
log.Printf("error scanning: %v", err)
}
}