auxiliary

package
v0.0.0-...-6821fb8 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailClient

type EmailClient struct{}

func (EmailClient) NotifyUserOfPaymentFailure

func (EmailClient) NotifyUserOfPaymentFailure(userId string) (bool, error)

func (EmailClient) NotifyUserOfPaymentSuccess

func (EmailClient) NotifyUserOfPaymentSuccess(userId string) (bool, error)

type PaymentClient

type PaymentClient struct{}

func (PaymentClient) Call

func (PaymentClient) Call(idempotencyKey string, amount int) error

func (PaymentClient) FailingCall

func (PaymentClient) FailingCall(idempotencyKey string, amount int) error

type TicketStatus

type TicketStatus int
const (
	TicketStatusAvailable TicketStatus = iota
	TicketStatusReserved
	TicketStatusSold
)

Jump to

Keyboard shortcuts

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