Directories
¶
| Path | Synopsis |
|---|---|
|
Package api wires the gin engine: middleware, route groups, and handler registration.
|
Package api wires the gin engine: middleware, route groups, and handler registration. |
|
handler
Package handler contains the gin HTTP handlers, organized by feature.
|
Package handler contains the gin HTTP handlers, organized by feature. |
|
Package payment defines a provider abstraction over payment gateways so the order service is not hardcoded to alipay.
|
Package payment defines a provider abstraction over payment gateways so the order service is not hardcoded to alipay. |
|
alipay
Package alipay implements payment.Provider for Alipay's offline QR pre-creation (alipay.trade.precreate, 统一收单线下交易预创建) and async notification verification, using github.com/go-pay/gopay/alipay (classic RSA2 public-key gateway).
|
Package alipay implements payment.Provider for Alipay's offline QR pre-creation (alipay.trade.precreate, 统一收单线下交易预创建) and async notification verification, using github.com/go-pay/gopay/alipay (classic RSA2 public-key gateway). |
|
apple
Package apple implements payment.Provider for Apple App Store In-App Purchases (IAP), using github.com/go-pay/gopay/apple (App Store Server API v2).
|
Package apple implements payment.Provider for Apple App Store In-App Purchases (IAP), using github.com/go-pay/gopay/apple (App Store Server API v2). |
|
paypal
Package paypal implements payment.Provider for PayPal Checkout (Orders v2, intent=CAPTURE).
|
Package paypal implements payment.Provider for PayPal Checkout (Orders v2, intent=CAPTURE). |
|
stripe
Package stripe implements payment.Provider for Stripe Checkout (one-time payment mode).
|
Package stripe implements payment.Provider for Stripe Checkout (one-time payment mode). |
|
wechat
Package wechat implements payment.Provider for WeChat Pay v3 NATIVE.
|
Package wechat implements payment.Provider for WeChat Pay v3 NATIVE. |
|
Package service contains the manager's business logic.
|
Package service contains the manager's business logic. |
|
Package util provides small ID and secret-generation helpers.
|
Package util provides small ID and secret-generation helpers. |
|
Package wire holds the wire-format DTOs exchanged with the vgate server (node).
|
Package wire holds the wire-format DTOs exchanged with the vgate server (node). |
Click to show internal directories.
Click to hide internal directories.