Documentation
¶
Index ¶
- func NewExpenseCategoriesController(app application.Application) application.Controller
- func NewExpensesController(app application.Application) application.Controller
- func NewMoneyAccountController(app application.Application) application.Controller
- func NewPaymentsController(app application.Application) application.Controller
- type AccountPaginatedResponse
- type ExpenseCategoriesController
- func (c *ExpenseCategoriesController) Create(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseCategoriesController) Delete(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseCategoriesController) GetEdit(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseCategoriesController) GetNew(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseCategoriesController) List(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseCategoriesController) PostEdit(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseCategoriesController) Register(r *mux.Router)
- type ExpenseCategoryPaginatedResponse
- type ExpenseController
- func (c *ExpenseController) Create(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseController) Delete(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseController) GetEdit(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseController) GetNew(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseController) List(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseController) PostEdit(w http.ResponseWriter, r *http.Request)
- func (c *ExpenseController) Register(r *mux.Router)
- type ExpensePaginationResponse
- type MoneyAccountController
- func (c *MoneyAccountController) Create(w http.ResponseWriter, r *http.Request)
- func (c *MoneyAccountController) Delete(w http.ResponseWriter, r *http.Request)
- func (c *MoneyAccountController) GetEdit(w http.ResponseWriter, r *http.Request)
- func (c *MoneyAccountController) GetNew(w http.ResponseWriter, r *http.Request)
- func (c *MoneyAccountController) List(w http.ResponseWriter, r *http.Request)
- func (c *MoneyAccountController) PostEdit(w http.ResponseWriter, r *http.Request)
- func (c *MoneyAccountController) Register(r *mux.Router)
- type PaymentPaginatedResponse
- type PaymentsController
- func (c *PaymentsController) CreatePayment(w http.ResponseWriter, r *http.Request)
- func (c *PaymentsController) DeletePayment(w http.ResponseWriter, r *http.Request)
- func (c *PaymentsController) GetEdit(w http.ResponseWriter, r *http.Request)
- func (c *PaymentsController) GetNew(w http.ResponseWriter, r *http.Request)
- func (c *PaymentsController) Payments(w http.ResponseWriter, r *http.Request)
- func (c *PaymentsController) PostEdit(w http.ResponseWriter, r *http.Request)
- func (c *PaymentsController) Register(r *mux.Router)
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 (c *ExpenseCategoriesController) Create(w http.ResponseWriter, r *http.Request)
func (*ExpenseCategoriesController) Delete ¶
func (c *ExpenseCategoriesController) Delete(w http.ResponseWriter, r *http.Request)
func (*ExpenseCategoriesController) GetEdit ¶
func (c *ExpenseCategoriesController) GetEdit(w http.ResponseWriter, r *http.Request)
func (*ExpenseCategoriesController) GetNew ¶
func (c *ExpenseCategoriesController) GetNew(w http.ResponseWriter, r *http.Request)
func (*ExpenseCategoriesController) List ¶
func (c *ExpenseCategoriesController) List(w http.ResponseWriter, r *http.Request)
func (*ExpenseCategoriesController) PostEdit ¶
func (c *ExpenseCategoriesController) PostEdit(w http.ResponseWriter, r *http.Request)
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 (c *ExpenseController) Create(w http.ResponseWriter, r *http.Request)
func (*ExpenseController) Delete ¶
func (c *ExpenseController) Delete(w http.ResponseWriter, r *http.Request)
func (*ExpenseController) GetEdit ¶
func (c *ExpenseController) GetEdit(w http.ResponseWriter, r *http.Request)
func (*ExpenseController) GetNew ¶
func (c *ExpenseController) GetNew(w http.ResponseWriter, r *http.Request)
func (*ExpenseController) List ¶
func (c *ExpenseController) List(w http.ResponseWriter, r *http.Request)
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 (c *MoneyAccountController) Create(w http.ResponseWriter, r *http.Request)
func (*MoneyAccountController) Delete ¶
func (c *MoneyAccountController) Delete(w http.ResponseWriter, r *http.Request)
func (*MoneyAccountController) GetEdit ¶
func (c *MoneyAccountController) GetEdit(w http.ResponseWriter, r *http.Request)
func (*MoneyAccountController) GetNew ¶
func (c *MoneyAccountController) GetNew(w http.ResponseWriter, r *http.Request)
func (*MoneyAccountController) List ¶
func (c *MoneyAccountController) List(w http.ResponseWriter, r *http.Request)
func (*MoneyAccountController) PostEdit ¶
func (c *MoneyAccountController) PostEdit(w http.ResponseWriter, r *http.Request)
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 (c *PaymentsController) GetEdit(w http.ResponseWriter, r *http.Request)
func (*PaymentsController) GetNew ¶
func (c *PaymentsController) GetNew(w http.ResponseWriter, r *http.Request)
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)
Click to show internal directories.
Click to hide internal directories.