Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WechatPayNotifyValidator ¶
type WechatPayNotifyValidator struct {
// contains filtered or unexported fields
}
WechatPayNotifyValidator 微信支付 API v3 通知请求报文验证器
func NewWechatPayNotifyValidator ¶
func NewWechatPayNotifyValidator(verifier auth.Verifier) *WechatPayNotifyValidator
NewWechatPayNotifyValidator 使用 auth.Verifier 初始化一个 WechatPayNotifyValidator
func (*WechatPayNotifyValidator) Validate ¶
func (v *WechatPayNotifyValidator) Validate(ctx context.Context, requestContext *app.RequestContext) error
Validate 对接收到的微信支付 API v3 通知请求报文进行验证
Click to show internal directories.
Click to hide internal directories.