payment

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChannelTypeCredit = domain.ChannelTypeCredit
	ChannelTypeWechat = domain.ChannelTypeWechat

	StatusUnpaid      = domain.PaymentStatusUnpaid
	StatusProcessing  = domain.PaymentStatusProcessing
	StatusPaidSuccess = domain.PaymentStatusPaidSuccess
	StatusPaidFailed  = domain.PaymentStatusPaidFailed
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel = domain.PaymentChannel

type ChannelType added in v0.1.0

type ChannelType = domain.ChannelType

type Handler added in v0.1.0

type Handler = web.Handler

type Module added in v0.1.0

type Module struct {
	Hdl                *Handler
	Svc                Service
	SyncWechatOrderJob *SyncWechatOrderJob
}

func InitModule added in v0.1.0

func InitModule(db *gorm.DB, mq2 mq.MQ, c ecache.Cache, cm *credit.Module) (*Module, error)

type Payment

type Payment = domain.Payment

type Record

type Record = domain.PaymentRecord

type Service

type Service = service.Service

type SyncWechatOrderJob added in v0.1.0

type SyncWechatOrderJob = job.SyncWechatOrderJob

Directories

Path Synopsis
internal
event/mocks
Code generated by MockGen.
Code generated by MockGen.
job
service/wechat/mocks
Code generated by MockGen.
Code generated by MockGen.
web
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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