Selector defines the interface for managing strategy selection and stats for a single key.
| 8 | |
| 9 | // Selector defines the interface for managing strategy selection and stats for a single key. |
| 10 | type Selector interface { |
| 11 | Select(resolvers map[string]*PlanConfig) *PlanConfig |
| 12 | UpdateStats(plan *PlanConfig, duration time.Duration) |
| 13 | } |
| 14 | |
| 15 | // Manager defines the interface for creating and managing plans for different keys. |
| 16 | type Manager interface { |
no outgoing calls
no test coverage detected
searching dependent graphs…