Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func StartCheck ¶
func StartCheck(whData *WebhookData, startStatus metrics.Status) error
StartCheck starts periodically checking the status of transaction
Types ¶
type CheckResponse ¶
type WebhookData ¶
type WebhookData struct { YooKassaTransactionID string `json:"yooKassaTransactionID"` YouKassaConfirmation metrics.YouKassaConfirmation `json:"youKassaConfirmation"` ServerUUID uuid.UUID `json:"serverUUID"` }
func NewWebhookData ¶
func NewWebhookData(yooKassaID string, serverUUID uuid.UUID) *WebhookData
Click to show internal directories.
Click to hide internal directories.