Files
llink/go/internal/billing/usage_models.go
T

14 lines
305 B
Go

package billing
import "time"
// Per-network daily cap on the free plan. Unit-agnostic.
const FreemiumDailyLimit = 50
type Usage struct {
Plan Plan `json:"plan"`
Used int `json:"used"`
Limit *int `json:"limit"` // nil = unlimited (pro)
ResetAt time.Time `json:"reset_at"`
}