controllers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: AGPL-3.0 Imports: 45 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller is the default controller for other endpoints

func NewController

func NewController() *Controller

NewController creates a new instance of AuthController with injected services

func (*Controller) CreateLinkedAddress

func (ctrl *Controller) CreateLinkedAddress(ctx *gin.Context)

CreateLinkedAddress controller creates a new linked address

func (*Controller) GetAggregatorPublicKey

func (ctrl *Controller) GetAggregatorPublicKey(ctx *gin.Context)

GetAggregatorPublicKey controller expose Aggregator Public Key

func (*Controller) GetEtherscanQueueStats added in v0.1.0

func (ctrl *Controller) GetEtherscanQueueStats(ctx *gin.Context)

GetEtherscanQueueStats controller returns statistics about the Etherscan queue

func (*Controller) GetFiatCurrencies

func (ctrl *Controller) GetFiatCurrencies(ctx *gin.Context)

GetFiatCurrencies controller fetches the supported fiat currencies

func (*Controller) GetIDVerificationStatus

func (ctrl *Controller) GetIDVerificationStatus(ctx *gin.Context)

GetIDVerificationStatus controller fetches the status of an identity verification request

func (*Controller) GetInstitutionsByCurrency

func (ctrl *Controller) GetInstitutionsByCurrency(ctx *gin.Context)

GetInstitutionsByCurrency controller fetches the supported institutions for a given currency

func (*Controller) GetLinkedAddress

func (ctrl *Controller) GetLinkedAddress(ctx *gin.Context)

GetLinkedAddress controller fetches a linked address

func (*Controller) GetLinkedAddressTransactions

func (ctrl *Controller) GetLinkedAddressTransactions(ctx *gin.Context)

GetLinkedAddressTransactions controller fetches transactions for a linked address

func (*Controller) GetLockPaymentOrderStatus

func (ctrl *Controller) GetLockPaymentOrderStatus(ctx *gin.Context)

GetLockPaymentOrderStatus controller fetches a payment order status by ID

func (*Controller) GetSupportedTokens

func (ctrl *Controller) GetSupportedTokens(ctx *gin.Context)

GetSupportedTokens controller fetches supported cryptocurrency tokens

func (*Controller) GetTokenRate

func (ctrl *Controller) GetTokenRate(ctx *gin.Context)

GetTokenRate controller fetches the current rate of the cryptocurrency token against the fiat currency

func (*Controller) HandleKYBSubmission

func (ctrl *Controller) HandleKYBSubmission(ctx *gin.Context)

HandleKYBSubmission handles the POST request for KYB submission

func (*Controller) IndexProviderAddress added in v0.0.2

func (ctrl *Controller) IndexProviderAddress(ctx *gin.Context)

IndexProviderAddress controller indexes provider addresses for OrderSettled events

func (*Controller) IndexTransaction

func (ctrl *Controller) IndexTransaction(ctx *gin.Context)

IndexTransaction controller indexes a specific transaction for blockchain events

func (*Controller) InsightWebhook

func (ctrl *Controller) InsightWebhook(ctx *gin.Context)

InsightWebhook handles the webhook callback from thirdweb insight, including signature verification and event processing

func (*Controller) KYCWebhook

func (ctrl *Controller) KYCWebhook(ctx *gin.Context)

KYCWebhook handles the webhook callback from Smile Identity

func (*Controller) RequestIDVerification

func (ctrl *Controller) RequestIDVerification(ctx *gin.Context)

RequestIDVerification controller requests identity verification details

func (*Controller) SlackInteractionHandler

func (ctrl *Controller) SlackInteractionHandler(ctx *gin.Context)

SlackInteractionHandler handles Slack interaction requests

func (*Controller) VerifyAccount

func (ctrl *Controller) VerifyAccount(ctx *gin.Context)

VerifyAccount controller verifies an account of a given institution

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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