service

package
v0.0.0-...-592584e Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnection

func NewConnection() (*sns.Client, error)

Types

type ExternalPayment

type ExternalPayment struct {
}

func NewExternalPayment

func NewExternalPayment() *ExternalPayment

func (*ExternalPayment) CreateQRCode

type Message

type Message struct {
	OrderId int
	Status  enum.PaymentStatus
}

type OrderService

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

func NewOrderService

func NewOrderService(c *resty.Client, l *slog.Logger) *OrderService

func (*OrderService) GetById

type SnsService

type SnsService struct{}

func NewSnsService

func NewSnsService() *SnsService

func (*SnsService) SendMessage

func (s *SnsService) SendMessage(paymentId int, status enum.PaymentStatus) error

Jump to

Keyboard shortcuts

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