P0 fixes: - ModelError.Is(): use exact matching instead of substring contains() - shouldClearStickySession: add context param for cancellation/tracing P1 fixes: - TODO stubs: return 501 Not Implemented errors - validateInstanceSignature: deduplicate to shared validateCodeSignature() - Error messages: standardize to English only - http.go: remove pseudo if-else with duplicate branches
16 lines
267 B
Go
16 lines
267 B
Go
package service
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// SubscriptionCacheData represents cached subscription data
|
|
type SubscriptionCacheData struct {
|
|
Status string
|
|
ExpiresAt time.Time
|
|
DailyUsage float64
|
|
WeeklyUsage float64
|
|
MonthlyUsage float64
|
|
Version int64
|
|
}
|