handler

package
v0.0.0-...-553ec8c Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransactionHandler

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

func NewTransactionHandler

func NewTransactionHandler(
	transactionUsecase usecase.TransactionUsecase,
	log logger.Logger,
	monitorClient monitor_client.ClientService,
	r *redis.Redis,
) *TransactionHandler

NewTransactionHandler creates a new instance of transactionHandler.

func (*TransactionHandler) AcceptTransactionHandler

func (th *TransactionHandler) AcceptTransactionHandler(params apiTransaction.AcceptTransactionParams, _ interface{}) middleware.Responder

AcceptTransactionHandler handles the request to accept a transaction.

func (*TransactionHandler) CancelTransactionHandler

func (th *TransactionHandler) CancelTransactionHandler(params apiTransaction.CancelTransactionParams, _ interface{}) middleware.Responder

CancelTransactionHandler handles the request to cancel a transaction.

func (*TransactionHandler) CreateTransactionHandler

func (th *TransactionHandler) CreateTransactionHandler(params apiTransaction.CreateTransactionParams, _ interface{}) middleware.Responder

CreateTransactionHandler handles the request to create a transaction.

func (*TransactionHandler) EditTransactionHandler

func (th *TransactionHandler) EditTransactionHandler(params apiTransaction.EditTransactionParams, _ interface{}) middleware.Responder

EditTransactionHandler handles the request to edit a transaction.

func (*TransactionHandler) LoginHandler

func (*TransactionHandler) RetrieveTransactionHandler

func (th *TransactionHandler) RetrieveTransactionHandler(params apiTransaction.RetrieveTransactionParams, _ interface{}) middleware.Responder

RetrieveTransactionHandler handles the request to retrieve a transaction.

func (*TransactionHandler) RetrieveTransactionStatusHandler

func (th *TransactionHandler) RetrieveTransactionStatusHandler(params apiTransaction.RetrieveTransactionStatusParams, _ interface{}) middleware.Responder

RetrieveTransactionStatusHandler handles the request to retrieve the status of a transaction.

func (*TransactionHandler) VerifyAuthToken

func (th *TransactionHandler) VerifyAuthToken(token string) (interface{}, error)

Jump to

Keyboard shortcuts

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