controllers

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExpenseCategoriesController

func NewExpenseCategoriesController(app application.Application) application.Controller

func NewExpensesController

func NewExpensesController(app application.Application) application.Controller

func NewMoneyAccountController

func NewMoneyAccountController(app application.Application) application.Controller

func NewPaymentsController

func NewPaymentsController(app application.Application) application.Controller

Types

type AccountPaginatedResponse

type AccountPaginatedResponse struct {
	Accounts        []*viewmodels.MoneyAccount
	PaginationState *pagination.State
}

type ExpenseCategoriesController

type ExpenseCategoriesController struct {
	// contains filtered or unexported fields
}

func (*ExpenseCategoriesController) Create

func (*ExpenseCategoriesController) Delete

func (*ExpenseCategoriesController) GetEdit

func (*ExpenseCategoriesController) GetNew

func (*ExpenseCategoriesController) List

func (*ExpenseCategoriesController) PostEdit

func (*ExpenseCategoriesController) Register

func (c *ExpenseCategoriesController) Register(r *mux.Router)

type ExpenseCategoryPaginatedResponse

type ExpenseCategoryPaginatedResponse struct {
	Categories      []*viewmodels.ExpenseCategory
	PaginationState *pagination.State
}

type ExpenseController

type ExpenseController struct {
	// contains filtered or unexported fields
}

func (*ExpenseController) Create

func (*ExpenseController) Delete

func (*ExpenseController) GetEdit

func (c *ExpenseController) GetEdit(w http.ResponseWriter, r *http.Request)

func (*ExpenseController) GetNew

func (*ExpenseController) List

func (*ExpenseController) PostEdit

func (c *ExpenseController) PostEdit(w http.ResponseWriter, r *http.Request)

func (*ExpenseController) Register

func (c *ExpenseController) Register(r *mux.Router)

type ExpensePaginationResponse

type ExpensePaginationResponse struct {
	Expenses        []*viewmodels.Expense
	PaginationState *pagination.State
}

type MoneyAccountController

type MoneyAccountController struct {
	// contains filtered or unexported fields
}

func (*MoneyAccountController) Create

func (*MoneyAccountController) Delete

func (*MoneyAccountController) GetEdit

func (*MoneyAccountController) GetNew

func (*MoneyAccountController) List

func (*MoneyAccountController) PostEdit

func (*MoneyAccountController) Register

func (c *MoneyAccountController) Register(r *mux.Router)

type PaymentPaginatedResponse

type PaymentPaginatedResponse struct {
	Payments        []*viewmodels.Payment
	PaginationState *pagination.State
}

type PaymentsController

type PaymentsController struct {
	// contains filtered or unexported fields
}

func (*PaymentsController) CreatePayment

func (c *PaymentsController) CreatePayment(w http.ResponseWriter, r *http.Request)

func (*PaymentsController) DeletePayment

func (c *PaymentsController) DeletePayment(w http.ResponseWriter, r *http.Request)

func (*PaymentsController) GetEdit

func (*PaymentsController) GetNew

func (*PaymentsController) Payments

func (c *PaymentsController) Payments(w http.ResponseWriter, r *http.Request)

func (*PaymentsController) PostEdit

func (c *PaymentsController) PostEdit(w http.ResponseWriter, r *http.Request)

func (*PaymentsController) Register

func (c *PaymentsController) Register(r *mux.Router)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL