Documentation
¶
Index ¶
Constants ¶
View Source
const JobKindTransferWorkflow = "transfer_workflow"
View Source
const JobKindWebhookWaitingConfirmations = "waiting_confirmations"
View Source
const (
WebhookCleanupPeriodicJob = "webhook_cleanup"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskManager ¶
type TaskManager struct {
// contains filtered or unexported fields
}
func New ¶
func New( l logger.ExtendedLogger, conf *config.Config, st store.IStore, bs baseservices.IBaseServices, ) (*TaskManager, error)
New
type TransferWorkflowArgs ¶
type TransferWorkflowWorker ¶
type TransferWorkflowWorker struct { river.WorkerDefaults[TransferWorkflowArgs] // contains filtered or unexported fields }
func (*TransferWorkflowWorker) Timeout ¶
func (s *TransferWorkflowWorker) Timeout(*river.Job[TransferWorkflowArgs]) time.Duration
func (*TransferWorkflowWorker) Work ¶
func (s *TransferWorkflowWorker) Work(ctx context.Context, job *river.Job[TransferWorkflowArgs]) error
type WebhookCleanupJobArgs ¶
type WebhookCleanupJobArgs struct{}
func (WebhookCleanupJobArgs) Kind ¶
func (WebhookCleanupJobArgs) Kind() string
type WebhookCleanupWorker ¶
type WebhookCleanupWorker struct { river.WorkerDefaults[WebhookCleanupJobArgs] // contains filtered or unexported fields }
func (*WebhookCleanupWorker) Timeout ¶
func (s *WebhookCleanupWorker) Timeout(*river.Job[WebhookCleanupJobArgs]) time.Duration
func (*WebhookCleanupWorker) Work ¶
func (s *WebhookCleanupWorker) Work(ctx context.Context, _ *river.Job[WebhookCleanupJobArgs]) error
type WebhookWaitingConfirmationsArgs ¶
type WebhookWaitingConfirmationsArgs struct { Blockchain wconstants.BlockchainType `json:"blockchain"` Hash string `json:"hash"` Address string `json:"address"` EventBlockchainUniqKey string `json:"event_blockchain_uniq_key"` WebhookKind models.WebhookKind `json:"webhook_kind"` WalletType constants.WalletType `json:"wallet_type"` OwnerID uuid.UUID `json:"owner_id"` ExternalWalletID *string `json:"external_wallet_id,omitempty"` IsSystem bool `json:"is_system"` }
func (WebhookWaitingConfirmationsArgs) Kind ¶
func (WebhookWaitingConfirmationsArgs) Kind() string
Kind
func (WebhookWaitingConfirmationsArgs) Validate ¶
func (s WebhookWaitingConfirmationsArgs) Validate() error
type WebhookWaitingConfirmationsWorker ¶
type WebhookWaitingConfirmationsWorker struct { river.WorkerDefaults[WebhookWaitingConfirmationsArgs] // contains filtered or unexported fields }
func (*WebhookWaitingConfirmationsWorker) Work ¶
func (s *WebhookWaitingConfirmationsWorker) Work(ctx context.Context, job *river.Job[WebhookWaitingConfirmationsArgs]) error
Click to show internal directories.
Click to hide internal directories.