chore: go fmt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel Pupius
2026-03-16 17:57:12 +00:00
parent 468e4a1d9d
commit 274eab71c4

View File

@@ -82,9 +82,9 @@ type entry struct {
type NodeAwareCache struct { type NodeAwareCache struct {
mu sync.Mutex mu sync.Mutex
entries []entry entries []entry
nodeLastSeen map[uint32]int64 // nodeID → unix timestamp of most recent packet nodeLastSeen map[uint32]int64 // nodeID → unix timestamp of most recent packet
routerNodes map[uint32]bool // nodeIDs identified as router-role devices routerNodes map[uint32]bool // nodeIDs identified as router-role devices
maxSize int // global safety cap maxSize int // global safety cap
retention time.Duration retention time.Duration
nowFunc func() time.Time // injectable for testing nowFunc func() time.Time // injectable for testing
} }