budget Types

This document shows Go type definitions from the codebase.

Generated types:

BudgetConfig {#budgetconfig}

Source: pulse/budget/tracker.go:14

type BudgetConfig struct {
	DailyBudgetUSD float64
	WeeklyBudgetUSD float64
	MonthlyBudgetUSD float64
	CostPerScoreUSD float64
}

Limiter {#limiter}

Source: pulse/budget/limiter.go:12

type Limiter struct {
}

Status {#status}

Source: pulse/budget/tracker.go:22

type Status struct {
	DailySpend float64 `json:"daily_spend,omitempty"`
	WeeklySpend float64 `json:"weekly_spend,omitempty"`
	MonthlySpend float64 `json:"monthly_spend,omitempty"`
	DailyRemaining float64 `json:"daily_remaining,omitempty"`
	WeeklyRemaining float64 `json:"weekly_remaining,omitempty"`
	MonthlyRemaining float64 `json:"monthly_remaining,omitempty"`
	DailyOps int `json:"daily_ops,omitempty"`
	WeeklyOps int `json:"weekly_ops,omitempty"`
	MonthlyOps int `json:"monthly_ops,omitempty"`
}

Tracker {#tracker}

Source: pulse/budget/tracker.go:35

type Tracker struct {
}