PreFilter holds global info on related CIDR maps participating in prefilter
| 39 | |
| 40 | // PreFilter holds global info on related CIDR maps participating in prefilter |
| 41 | type PreFilter struct { |
| 42 | logger *slog.Logger |
| 43 | maps preFilterMaps |
| 44 | revision int64 |
| 45 | mutex lock.RWMutex |
| 46 | |
| 47 | enabled bool |
| 48 | } |
| 49 | |
| 50 | // WriteConfig dumps the configuration for the corresponding header file |
| 51 | func (p *PreFilter) WriteConfig(fw io.Writer) { |
nothing calls this directly
no outgoing calls
no test coverage detected