ports

package
v1.9.0-beta.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountHandler

type AccountHandler struct {
	Command *command.UseCase
	Query   *query.UseCase
}

AccountHandler struct contains an account use case for managing account related operations.

func (*AccountHandler) CreateAccount

func (handler *AccountHandler) CreateAccount(i any, c *fiber.Ctx) error

CreateAccount is a method that creates account information.

func (*AccountHandler) DeleteAccountByID

func (handler *AccountHandler) DeleteAccountByID(c *fiber.Ctx) error

DeleteAccountByID is a method that removes Account information by a given ids.

func (*AccountHandler) GetAccountByID

func (handler *AccountHandler) GetAccountByID(c *fiber.Ctx) error

GetAccountByID is a method that retrieves Account information by a given id.

func (*AccountHandler) GetAllAccounts

func (handler *AccountHandler) GetAllAccounts(c *fiber.Ctx) error

GetAllAccounts is a method that retrieves all Accounts.

func (*AccountHandler) UpdateAccount

func (handler *AccountHandler) UpdateAccount(i any, c *fiber.Ctx) error

UpdateAccount is a method that updates Account information.

type InstrumentHandler

type InstrumentHandler struct {
	Command *command.UseCase
	Query   *query.UseCase
}

InstrumentHandler struct contains an instrument use case for managing instrument related operations.

func (*InstrumentHandler) CreateInstrument

func (handler *InstrumentHandler) CreateInstrument(a any, c *fiber.Ctx) error

CreateInstrument is a method that creates instrument information.

func (*InstrumentHandler) DeleteInstrumentByID

func (handler *InstrumentHandler) DeleteInstrumentByID(c *fiber.Ctx) error

DeleteInstrumentByID is a method that removes Instrument information by a given ids.

func (*InstrumentHandler) GetAllInstruments

func (handler *InstrumentHandler) GetAllInstruments(c *fiber.Ctx) error

GetAllInstruments is a method that retrieves all Instruments.

func (*InstrumentHandler) GetInstrumentByID

func (handler *InstrumentHandler) GetInstrumentByID(c *fiber.Ctx) error

GetInstrumentByID is a method that retrieves Instrument information by a given id.

func (*InstrumentHandler) UpdateInstrument

func (handler *InstrumentHandler) UpdateInstrument(a any, c *fiber.Ctx) error

UpdateInstrument is a method that updates Instrument information.

type LedgerHandler

type LedgerHandler struct {
	Command *command.UseCase
	Query   *query.UseCase
}

LedgerHandler struct contains a ledger use case for managing ledger related operations.

func (*LedgerHandler) CreateLedger

func (handler *LedgerHandler) CreateLedger(i any, c *fiber.Ctx) error

CreateLedger is a method that creates Ledger information.

func (*LedgerHandler) DeleteLedgerByID

func (handler *LedgerHandler) DeleteLedgerByID(c *fiber.Ctx) error

DeleteLedgerByID is a method that removes Ledger information by a given id.

func (*LedgerHandler) GetAllLedgers

func (handler *LedgerHandler) GetAllLedgers(c *fiber.Ctx) error

GetAllLedgers is a method that retrieves all ledgers.

func (*LedgerHandler) GetLedgerByID

func (handler *LedgerHandler) GetLedgerByID(c *fiber.Ctx) error

GetLedgerByID is a method that retrieves Ledger information by a given id.

func (*LedgerHandler) UpdateLedger

func (handler *LedgerHandler) UpdateLedger(p any, c *fiber.Ctx) error

UpdateLedger is a method that updates Ledger information.

type OrganizationHandler

type OrganizationHandler struct {
	Command *command.UseCase
	Query   *query.UseCase
}

OrganizationHandler struct contains an organization use case for managing organization related operations.

func (*OrganizationHandler) CreateOrganization

func (handler *OrganizationHandler) CreateOrganization(p any, c *fiber.Ctx) error

CreateOrganization is a method that creates Organization information.

func (*OrganizationHandler) DeleteOrganizationByID

func (handler *OrganizationHandler) DeleteOrganizationByID(c *fiber.Ctx) error

DeleteOrganizationByID is a method that removes Organization information by a given id.

func (*OrganizationHandler) GetAllOrganizations

func (handler *OrganizationHandler) GetAllOrganizations(c *fiber.Ctx) error

GetAllOrganizations is a method that retrieves all Organizations.

func (*OrganizationHandler) GetOrganizationByID

func (handler *OrganizationHandler) GetOrganizationByID(c *fiber.Ctx) error

GetOrganizationByID is a method that retrieves Organization information by a given id.

func (*OrganizationHandler) UpdateOrganization

func (handler *OrganizationHandler) UpdateOrganization(p any, c *fiber.Ctx) error

UpdateOrganization is a method that updates Organization information.

type PortfolioHandler

type PortfolioHandler struct {
	Command *command.UseCase
	Query   *query.UseCase
}

PortfolioHandler struct contains a portfolio use case for managing portfolio related operations.

func (*PortfolioHandler) CreatePortfolio

func (handler *PortfolioHandler) CreatePortfolio(i any, c *fiber.Ctx) error

CreatePortfolio is a method that creates portfolio information.

func (*PortfolioHandler) DeletePortfolioByID

func (handler *PortfolioHandler) DeletePortfolioByID(c *fiber.Ctx) error

DeletePortfolioByID is a method that removes Portfolio information by a given ids.

func (*PortfolioHandler) GetAllPortfolios

func (handler *PortfolioHandler) GetAllPortfolios(c *fiber.Ctx) error

GetAllPortfolios is a method that retrieves all Portfolios.

func (*PortfolioHandler) GetPortfolioByID

func (handler *PortfolioHandler) GetPortfolioByID(c *fiber.Ctx) error

GetPortfolioByID is a method that retrieves Portfolio information by a given id.

func (*PortfolioHandler) UpdatePortfolio

func (handler *PortfolioHandler) UpdatePortfolio(i any, c *fiber.Ctx) error

UpdatePortfolio is a method that updates Portfolio information.

type ProductHandler

type ProductHandler struct {
	Command *command.UseCase
	Query   *query.UseCase
}

ProductHandler struct contains a product use case for managing product related operations.

func (*ProductHandler) CreateProduct

func (handler *ProductHandler) CreateProduct(i any, c *fiber.Ctx) error

CreateProduct is a method that creates product information.

func (*ProductHandler) DeleteProductByID

func (handler *ProductHandler) DeleteProductByID(c *fiber.Ctx) error

DeleteProductByID is a method that removes Product information by a given ids.

func (*ProductHandler) GetAllProducts

func (handler *ProductHandler) GetAllProducts(c *fiber.Ctx) error

GetAllProducts is a method that retrieves all Products.

func (*ProductHandler) GetProductByID

func (handler *ProductHandler) GetProductByID(c *fiber.Ctx) error

GetProductByID is a method that retrieves Product information by a given id.

func (*ProductHandler) UpdateProduct

func (handler *ProductHandler) UpdateProduct(i any, c *fiber.Ctx) error

UpdateProduct is a method that updates Product information.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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