RecordAndCheck records a usage event. Always returns true.
(ctx context.Context, userID, agentID, domain, direction string)
| 9 | type UsageTracker interface { |
| 10 | // RecordAndCheck records a usage event. Always returns true. |
| 11 | RecordAndCheck(ctx context.Context, userID, agentID, domain, direction string) (allowed bool, err error) |
| 12 | } |
| 13 | |
| 14 | // LiveUsageTracker is the real implementation backed by the billing store. |
no outgoing calls