Versions in this module Expand all Collapse all v1 v1.0.0 Mar 25, 2026 Changes in this version + func FormatReport(r *ScanResult) string + type ScanResult struct + EndTime time.Time + Protocol string + RiskLevel string + Score float64 + StartTime time.Time + Target string + Vulnerabilities []Vulnerability + type ScanRule struct + Check func(protocol string, data []byte) *Vulnerability + ID string + Name string + Severity string + type Scanner struct + func NewScanner() *Scanner + func (s *Scanner) Scan(protocol string, data []byte) *ScanResult + type Vulnerability struct + CVE string + Description string + ID string + Protocol string + Remediation string + Severity string + Title string