LogAnalysis is a read-only interface for accessing domain analysis results. Both DomainAnalysis and FirewallAnalysis implement this interface.
| 15 | // LogAnalysis is a read-only interface for accessing domain analysis results. |
| 16 | // Both DomainAnalysis and FirewallAnalysis implement this interface. |
| 17 | type LogAnalysis interface { |
| 18 | // GetAllowedDomains returns the list of allowed domains |
| 19 | GetAllowedDomains() []string |
| 20 | // GetBlockedDomains returns the list of blocked domains |
| 21 | GetBlockedDomains() []string |
| 22 | } |
| 23 | |
| 24 | // MutableLogAnalysis extends LogAnalysis with mutation methods for aggregation. |
| 25 | // Use this interface when both reading and writing domain data is required. |
no outgoing calls
no test coverage detected