Documentation ¶ Index ¶ func Generate(auditPath string) (string, error) func WriteJSON(auditPath string) (string, error) func WriteToFile(auditPath, outputPath string) error type DashboardData type ScorePoint Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(auditPath string) (string, error) func WriteJSON ¶ func WriteJSON(auditPath string) (string, error) func WriteToFile ¶ func WriteToFile(auditPath, outputPath string) error Types ¶ type DashboardData ¶ type DashboardData struct { TotalScans int `json:"total_scans"` AvgScore int `json:"avg_score"` TotalIssues int `json:"total_issues"` RecentScans []audit.Entry `json:"recent_scans"` ScoreHistory []ScorePoint `json:"score_history"` } type ScorePoint ¶ type ScorePoint struct { Timestamp string `json:"timestamp"` Score int `json:"score"` Issues int `json:"issues"` } Source Files ¶ View all Source files dashboard.go Click to show internal directories. Click to hide internal directories.