- compileProfileData parses JSONB profile_data into typed CompiledProfile structs - ProfileCache.Get provides O(1) lookup by profile UUID - MatchSysObjectID uses longest-prefix-first matching with generic-snmp fallback - StartRefresh runs background goroutine with configurable interval (default 5min) - Load atomically replaces in-memory cache under write lock - counter.go created as blocking prerequisite (Rule 3 deviation from 18-01) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
6.7 KiB
6.7 KiB