@@ -78,12 +78,12 @@ func newResult(host string) *multiResult {
7878// multiResult aggregates results from multiple drivers for a single domain query.
7979// It provides thread-safe access to merged certificate fingerprints and related data.
8080type multiResult struct {
81- host string // The queried domain
82- results []driver.Result // Results from individual drivers
83- resultLock sync.Mutex // Protects results and fingerprints maps
84- fingerprints driver.FingerprintMap // Merged fingerprints from all drivers
85- seenFPs map [fingerprint.Fingerprint ]bool // Tracks fingerprints to prevent duplicates
86- driverStatuses []status.Map // Individual driver status reports
81+ host string // The queried domain
82+ results []driver.Result // Results from individual drivers
83+ resultLock sync.Mutex // Protects results and fingerprints maps
84+ fingerprints driver.FingerprintMap // Merged fingerprints from all drivers
85+ seenFPs map [fingerprint.Fingerprint ]bool // Tracks fingerprints to prevent duplicates
86+ driverStatuses []status.Map // Individual driver status reports
8787}
8888
8989// add merges a driver result into this multiResult instance.
@@ -136,10 +136,10 @@ func (c *multiResult) GetFingerprints() (driver.FingerprintMap, error) {
136136func (c * multiResult ) GetStatus () status.Map {
137137 c .resultLock .Lock ()
138138 defer c .resultLock .Unlock ()
139-
139+
140140 // Create main multi-driver status
141141 multiStatus := status .NewMap (c .host , status .New (status .MULTI ))
142-
142+
143143 // Add individual driver statuses with prefixed keys for identification
144144 for i , driverStatus := range c .driverStatuses {
145145 for domain , stat := range driverStatus {
@@ -148,7 +148,7 @@ func (c *multiResult) GetStatus() status.Map {
148148 multiStatus [key ] = stat
149149 }
150150 }
151-
151+
152152 return multiStatus
153153}
154154
0 commit comments