(psnap ps.Snapshotter, config *config.Config)
| 59 | } |
| 60 | |
| 61 | func newCompiler(psnap ps.Snapshotter, config *config.Config) *compiler { |
| 62 | return &compiler{psnap: psnap, config: config} |
| 63 | } |
| 64 | |
| 65 | func (c *compiler) compile() (map[*config.FilterConfig]filter.Filter, *config.RulesCompileResult, error) { |
| 66 | if err := c.config.Filters.LoadMacros(); err != nil { |
no outgoing calls