Documentation ¶
Index ¶
- type TransactionHandler
- func (handler *TransactionHandler) CommitTransaction(c *fiber.Ctx) error
- func (handler *TransactionHandler) CreateTransaction(c *fiber.Ctx) error
- func (handler *TransactionHandler) CreateTransactionTemplate(p any, c *fiber.Ctx) error
- func (handler *TransactionHandler) GetAllTTransactions(c *fiber.Ctx) error
- func (handler *TransactionHandler) GetTransaction(c *fiber.Ctx) error
- func (handler *TransactionHandler) RevertTransaction(c *fiber.Ctx) error
- func (handler *TransactionHandler) UpdateTransaction(p any, c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransactionHandler ¶
TransactionHandler struct that handle transaction
func (*TransactionHandler) CommitTransaction ¶ added in v1.8.0
func (handler *TransactionHandler) CommitTransaction(c *fiber.Ctx) error
CommitTransaction method that commit transaction created before
func (*TransactionHandler) CreateTransaction ¶ added in v1.8.0
func (handler *TransactionHandler) CreateTransaction(c *fiber.Ctx) error
CreateTransaction method that create transaction
func (*TransactionHandler) CreateTransactionTemplate ¶ added in v1.8.0
func (handler *TransactionHandler) CreateTransactionTemplate(p any, c *fiber.Ctx) error
CreateTransactionTemplate method that create transaction template
func (*TransactionHandler) GetAllTTransactions ¶ added in v1.14.0
func (handler *TransactionHandler) GetAllTTransactions(c *fiber.Ctx) error
func (*TransactionHandler) GetTransaction ¶ added in v1.13.0
func (handler *TransactionHandler) GetTransaction(c *fiber.Ctx) error
GetTransaction method that get transaction created before
func (*TransactionHandler) RevertTransaction ¶ added in v1.8.0
func (handler *TransactionHandler) RevertTransaction(c *fiber.Ctx) error
RevertTransaction method that revert transaction created before
func (*TransactionHandler) UpdateTransaction ¶ added in v1.14.0
func (handler *TransactionHandler) UpdateTransaction(p any, c *fiber.Ctx) error
UpdateTransaction method that patch transaction created before
Click to show internal directories.
Click to hide internal directories.