Documentation ¶
Index ¶
- func StartApiServer(ctx context.Context)
- type AccountDTO
- type AccountFormDTO
- type AccountsPageDTO
- type BalanceDTO
- type BalanceFormDTO
- type BalancesPageDTO
- type BudgetDTO
- type BudgetFormDTO
- type BudgetsPageDTO
- type ImportStatementFormDTO
- type ImportStatusPageDTO
- type TransactionDTO
- type TransactionFormDTO
- type TransactionsPageDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartApiServer ¶
Types ¶
type AccountDTO ¶
type AccountFormDTO ¶
type AccountsPageDTO ¶
type AccountsPageDTO struct { Accounts []AccountDTO AccountSaved bool CreatedAccountName string }
type BalanceDTO ¶
type BalanceFormDTO ¶
type BalanceFormDTO struct { // If we're editing an existing account, Editing will be true // If we're creating a new account, Editing will be false Editing bool // we set the AccountID for the to populate the balanceForm with the accountID // in HTML forms, so the account ID can be passed in the form submission even // if there is no Balance object set AccountID uint BalanceDTO BalanceDTO ErrorMessage string }
type BalancesPageDTO ¶
type BalancesPageDTO struct { AccountID uint Balances []BalanceDTO BalanceSaved bool BalanceSavedMessage string }
type BudgetFormDTO ¶
type BudgetsPageDTO ¶
type ImportStatementFormDTO ¶
type ImportStatementFormDTO struct {
AccountNamesAndIDs []services.AccountNameAndID
}
type ImportStatusPageDTO ¶
type ImportStatusPageDTO struct { Submission *models.ImportSubmission Transactions []TransactionDTO }
type TransactionDTO ¶
type TransactionFormDTO ¶
type TransactionFormDTO struct { // If we're editing an existing transaction, Editing will be true // If we're creating a new transaction, Editing will be false Editing bool TransactionID uint Date string Description string Amount string Excluded bool AccountName string CategoryName string ImportSubmissionID string Accounts []models.Account Categories []models.Category }
type TransactionsPageDTO ¶
type TransactionsPageDTO struct { Transactions []TransactionDTO TransactionSaved bool CreatedTransactionName string }
Click to show internal directories.
Click to hide internal directories.