package
0.1.0
Repository: https://github.com/easypmnt/checkout-api.git
Documentation: pkg.go.dev

# Functions

NewEnqueuer creates a new email enqueuer.
NewService creates a new webhook service.
NewWorker creates a new email task handler.
SignPayload signs a payload using a secret key and returns the signature as a base64 encoded string.
TranslateEventsToWebhookEvents translates the events from the events package to the webhook events.
VerifySignature verifies a signature against a payload using a secret key.
WithHTTPClient configures the webhook service with a custom HTTP client.
WithMaxRetry configures the max retry.
WithQueueName configures the queue name.
WithSignatureHeader configures the webhook service with a custom signature header.
WithSignatureSecret configures the webhook service with a custom signature secret.
WithTaskDeadline configures the task deadline.
WithWebhookURI configures the webhook service with a custom webhook URI.

# Constants

ContentTypeJSON is the content type for JSON.
Default signature header.
Event types.
Event types.
Event types.
Event types.
Worker task types.

# Structs

No description provided by the author
FireEventPayload is the payload for the webhook:fire_event task.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author