Versions in this module Expand all Collapse all v0 v0.1.4 Mar 6, 2026 v0.1.3 Mar 4, 2026 Changes in this version + type ScanRecord struct + Findings []model.Issue + Grade model.Grade + ID string + Protocol model.ProtocolType + RiskScore int + ScannedAt time.Time + ToolName string + type Store struct + func Open(dsn string) (*Store, error) + func OpenContext(ctx context.Context, dsn string) (*Store, error) + func (s *Store) Close() error + func (s *Store) Count(ctx context.Context) (int, error) + func (s *Store) Get(ctx context.Context, id string) (ScanRecord, error) + func (s *Store) ListByGrade(ctx context.Context, grade model.Grade) ([]ScanRecord, error) + func (s *Store) Save(ctx context.Context, r ScanRecord) error