routes

package
v0.0.0-...-e79046f Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRoutes

func SetupRoutes(app *fiber.App, db *gorm.DB)

Types

type AddressRepository

type AddressRepository struct {
	DB *gorm.DB
}

func (*AddressRepository) CreateAddress

func (r *AddressRepository) CreateAddress(c *fiber.Ctx) error

func (*AddressRepository) GetAddressByID

func (r *AddressRepository) GetAddressByID(c *fiber.Ctx) error

func (*AddressRepository) GetAddresses

func (r *AddressRepository) GetAddresses(c *fiber.Ctx) error

func (*AddressRepository) SetupAddressRoutes

func (r *AddressRepository) SetupAddressRoutes(app *fiber.App)

func (*AddressRepository) UpdateAddress

func (r *AddressRepository) UpdateAddress(c *fiber.Ctx) error

type ClassRepository

type ClassRepository struct {
	DB *gorm.DB
}

func (*ClassRepository) CreateClass

func (r *ClassRepository) CreateClass(c *fiber.Ctx) error

func (*ClassRepository) GetClassByID

func (r *ClassRepository) GetClassByID(c *fiber.Ctx) error

func (*ClassRepository) GetClasses

func (r *ClassRepository) GetClasses(c *fiber.Ctx) error

func (*ClassRepository) SetupClassRoutes

func (r *ClassRepository) SetupClassRoutes(app *fiber.App)

func (*ClassRepository) UpdateClass

func (r *ClassRepository) UpdateClass(c *fiber.Ctx) error

type ClientRepository

type ClientRepository struct {
	DB *gorm.DB
}

func (*ClientRepository) CreateClient

func (r *ClientRepository) CreateClient(c *fiber.Ctx) error

func (*ClientRepository) DeleteClient

func (r *ClientRepository) DeleteClient(c *fiber.Ctx) error

func (*ClientRepository) GetClientByID

func (r *ClientRepository) GetClientByID(c *fiber.Ctx) error

func (*ClientRepository) GetClients

func (r *ClientRepository) GetClients(c *fiber.Ctx) error

func (*ClientRepository) SetupClientRoutes

func (r *ClientRepository) SetupClientRoutes(app *fiber.App)

func (*ClientRepository) UpdateClient

func (r *ClientRepository) UpdateClient(c *fiber.Ctx) error

type InvoiceItemRepository

type InvoiceItemRepository struct {
	DB *gorm.DB
}

func (*InvoiceItemRepository) CreateInvoiceItem

func (r *InvoiceItemRepository) CreateInvoiceItem(c *fiber.Ctx) error

func (*InvoiceItemRepository) GetInvoiceItemByID

func (r *InvoiceItemRepository) GetInvoiceItemByID(c *fiber.Ctx) error

func (*InvoiceItemRepository) GetInvoiceItems

func (r *InvoiceItemRepository) GetInvoiceItems(c *fiber.Ctx) error

func (*InvoiceItemRepository) SetupInvoiceItemRoutes

func (r *InvoiceItemRepository) SetupInvoiceItemRoutes(app *fiber.App)

func (*InvoiceItemRepository) UpdateInvoiceItem

func (r *InvoiceItemRepository) UpdateInvoiceItem(c *fiber.Ctx) error

type InvoiceRepository

type InvoiceRepository struct {
	DB *gorm.DB
}

func (*InvoiceRepository) CreateInvoice

func (r *InvoiceRepository) CreateInvoice(c *fiber.Ctx) error

func (*InvoiceRepository) GetInvoiceByID

func (r *InvoiceRepository) GetInvoiceByID(c *fiber.Ctx) error

func (*InvoiceRepository) GetInvoices

func (r *InvoiceRepository) GetInvoices(c *fiber.Ctx) error

func (*InvoiceRepository) SetupInvoiceRoutes

func (r *InvoiceRepository) SetupInvoiceRoutes(app *fiber.App)

type PaymentMethodRepository

type PaymentMethodRepository struct {
	DB *gorm.DB
}

func (*PaymentMethodRepository) CreatePaymentMethod

func (r *PaymentMethodRepository) CreatePaymentMethod(c *fiber.Ctx) error

func (*PaymentMethodRepository) DeletePaymentMethod

func (r *PaymentMethodRepository) DeletePaymentMethod(c *fiber.Ctx) error

func (*PaymentMethodRepository) GetPaymentMethodByID

func (r *PaymentMethodRepository) GetPaymentMethodByID(c *fiber.Ctx) error

func (*PaymentMethodRepository) GetPaymentMethods

func (r *PaymentMethodRepository) GetPaymentMethods(c *fiber.Ctx) error

func (*PaymentMethodRepository) SetupPaymentMethodRoutes

func (r *PaymentMethodRepository) SetupPaymentMethodRoutes(app *fiber.App)

type ProductRepository

type ProductRepository struct {
	DB *gorm.DB
}

func (*ProductRepository) CreateProduct

func (r *ProductRepository) CreateProduct(c *fiber.Ctx) error

func (*ProductRepository) GetProductByID

func (r *ProductRepository) GetProductByID(c *fiber.Ctx) error

func (*ProductRepository) GetProducts

func (r *ProductRepository) GetProducts(c *fiber.Ctx) error

func (*ProductRepository) GetProductsByClass

func (r *ProductRepository) GetProductsByClass(c *fiber.Ctx) error

func (*ProductRepository) GetProductsByName

func (r *ProductRepository) GetProductsByName(c *fiber.Ctx) error

func (*ProductRepository) SetupProductRoutes

func (r *ProductRepository) SetupProductRoutes(app *fiber.App)

func (*ProductRepository) UpdateProduct

func (r *ProductRepository) UpdateProduct(c *fiber.Ctx) error

type Repository

type Repository struct {
	DB *gorm.DB
}

type TributacaoRepository

type TributacaoRepository struct {
	DB *gorm.DB
}

func (*TributacaoRepository) CreateTributacao

func (r *TributacaoRepository) CreateTributacao(c *fiber.Ctx) error

func (*TributacaoRepository) GetTributacaoByID

func (r *TributacaoRepository) GetTributacaoByID(c *fiber.Ctx) error

func (*TributacaoRepository) GetTributacoes

func (r *TributacaoRepository) GetTributacoes(c *fiber.Ctx) error

func (*TributacaoRepository) SetupTributacaoRoutes

func (r *TributacaoRepository) SetupTributacaoRoutes(app *fiber.App)

func (*TributacaoRepository) UpdateTributacao

func (r *TributacaoRepository) UpdateTributacao(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

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