| 12 | ) |
| 13 | |
| 14 | type BasicEngine struct { |
| 15 | cfg *config.Config |
| 16 | |
| 17 | mu sync.Mutex |
| 18 | windowSecond int64 |
| 19 | tenantCounts map[string]int |
| 20 | } |
| 21 | |
| 22 | func NewBasicEngine(cfg *config.Config) *BasicEngine { |
| 23 | return &BasicEngine{ |
nothing calls this directly
no outgoing calls
no test coverage detected