Add scan queue execution and listing endpoint.

Run scans in background with progress/status updates and store scan metrics in memory or PostgreSQL.

Made-with: Cursor
This commit is contained in:
Andrey Lutsenko
2026-04-09 21:49:38 +10:00
parent 284794ec8d
commit 43cb339605
12 changed files with 753 additions and 23 deletions
+14
View File
@@ -0,0 +1,14 @@
package store
import (
"database/sql"
_ "embed"
)
//go:embed sql/001_init.sql
var initSQL string
func RunMigrations(db *sql.DB) error {
_, err := db.Exec(initSQL)
return err
}