Documentation
¶
Index ¶
- func CreateAccount(c *gin.Context)
- func CreateAllocation(c *gin.Context)
- func CreateBudget(c *gin.Context)
- func CreateCategory(c *gin.Context)
- func CreateEnvelope(c *gin.Context)
- func CreateTransaction(c *gin.Context)
- func DeleteAccount(c *gin.Context)
- func DeleteAllocation(c *gin.Context)
- func DeleteBudget(c *gin.Context)
- func DeleteCategory(c *gin.Context)
- func DeleteEnvelope(c *gin.Context)
- func DeleteTransaction(c *gin.Context)
- func FetchErrorHandler(c *gin.Context, err error)
- func GetAccount(c *gin.Context)
- func GetAccountTransactions(c *gin.Context)
- func GetAccounts(c *gin.Context)
- func GetAllocation(c *gin.Context)
- func GetAllocations(c *gin.Context)
- func GetBudget(c *gin.Context)
- func GetBudgets(c *gin.Context)
- func GetCategories(c *gin.Context)
- func GetCategory(c *gin.Context)
- func GetEnvelope(c *gin.Context)
- func GetEnvelopes(c *gin.Context)
- func GetTransaction(c *gin.Context)
- func GetTransactions(c *gin.Context)
- func RegisterAccountRoutes(r *gin.RouterGroup)
- func RegisterAllocationRoutes(r *gin.RouterGroup)
- func RegisterBudgetRoutes(r *gin.RouterGroup)
- func RegisterCategoryRoutes(r *gin.RouterGroup)
- func RegisterEnvelopeRoutes(r *gin.RouterGroup)
- func RegisterTransactionRoutes(r *gin.RouterGroup)
- func Router() (*gin.Engine, error)
- func UpdateAccount(c *gin.Context)
- func UpdateAllocation(c *gin.Context)
- func UpdateBudget(c *gin.Context)
- func UpdateCategory(c *gin.Context)
- func UpdateEnvelope(c *gin.Context)
- func UpdateTransaction(c *gin.Context)
- type Month
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccount ¶ added in v0.1.0
CreateAccount creates a new account.
func CreateAllocation ¶ added in v0.1.0
CreateAllocation creates a new allocation.
func CreateCategory ¶ added in v0.1.0
CreateCategory creates a new category.
func CreateEnvelope ¶ added in v0.1.0
CreateEnvelope creates a new envelope.
func CreateTransaction ¶ added in v0.1.0
CreateTransaction creates a new transaction.
func DeleteAccount ¶ added in v0.1.0
DeleteAccount removes a account, identified by its ID.
func DeleteAllocation ¶ added in v0.1.0
DeleteAllocation removes a allocation, identified by its ID.
func DeleteBudget ¶
DeleteBudget removes a budget, identified by its ID.
func DeleteCategory ¶ added in v0.1.0
DeleteCategory removes a category, identified by its ID.
func DeleteEnvelope ¶ added in v0.1.0
DeleteEnvelope removes a envelope, identified by its ID.
func DeleteTransaction ¶ added in v0.1.0
DeleteTransaction removes a transaction, identified by its ID.
func FetchErrorHandler ¶ added in v0.6.0
FetchErrorHandler handles errors for fetching data from the database.
func GetAccount ¶ added in v0.1.0
GetAccount retrieves an account by its ID.
func GetAccountTransactions ¶ added in v0.1.0
GetAccountTransactions returns all transactions for the account.
func GetAccounts ¶ added in v0.1.0
GetAccounts retrieves all accounts.
func GetAllocation ¶ added in v0.1.0
GetAllocation retrieves a allocation by its ID.
func GetAllocations ¶ added in v0.1.0
GetAllocations retrieves all allocations.
func GetCategories ¶ added in v0.1.0
GetCategories retrieves all categories.
func GetCategory ¶ added in v0.1.0
GetCategory retrieves a category by its ID.
func GetEnvelope ¶ added in v0.1.0
GetEnvelope retrieves a envelope by its ID.
func GetEnvelopes ¶ added in v0.1.0
GetEnvelopes retrieves all envelopes.
func GetTransaction ¶ added in v0.1.0
GetTransaction retrieves an transaction by its ID.
func GetTransactions ¶ added in v0.1.0
GetTransactions retrieves all transactions.
func RegisterAccountRoutes ¶ added in v0.1.0
func RegisterAccountRoutes(r *gin.RouterGroup)
RegisterAccountRoutes registers the routes for accounts with the RouterGroup that is passed.
func RegisterAllocationRoutes ¶ added in v0.1.0
func RegisterAllocationRoutes(r *gin.RouterGroup)
RegisterAllocationRoutes registers the routes for allocations with the RouterGroup that is passed.
func RegisterBudgetRoutes ¶ added in v0.1.0
func RegisterBudgetRoutes(r *gin.RouterGroup)
RegisterBudgetRoutes registers the routes for budgets with the RouterGroup that is passed.
func RegisterCategoryRoutes ¶ added in v0.1.0
func RegisterCategoryRoutes(r *gin.RouterGroup)
RegisterCategoryRoutes registers the routes for categories with the RouterGroup that is passed.
func RegisterEnvelopeRoutes ¶ added in v0.1.0
func RegisterEnvelopeRoutes(r *gin.RouterGroup)
RegisterEnvelopeRoutes registers the routes for envelopes with the RouterGroup that is passed.
func RegisterTransactionRoutes ¶ added in v0.1.0
func RegisterTransactionRoutes(r *gin.RouterGroup)
RegisterTransactionRoutes registers the routes for transactions with the RouterGroup that is passed.
func UpdateAccount ¶ added in v0.1.0
UpdateAccount updates an account, selected by the ID parameter.
func UpdateAllocation ¶ added in v0.1.0
UpdateAllocation updates a allocation, selected by the ID parameter.
func UpdateBudget ¶
UpdateBudget updates a budget, selected by the ID parameter.
func UpdateCategory ¶ added in v0.1.0
UpdateCategory updates a category, selected by the ID parameter.
func UpdateEnvelope ¶ added in v0.1.0
UpdateEnvelope updates a envelope, selected by the ID parameter.
func UpdateTransaction ¶ added in v0.1.0
UpdateTransaction updates an transaction, selected by the ID parameter.