Documentation ¶
Overview ¶
Package validators 微信支付 API v3 Go SDK 应答报文签名验证器
Package validators 微信支付 API v3 Go SDK 应答报文验证器
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NullValidator ¶
type NullValidator struct { }
NullValidator 空验证器,不对报文进行验证,对任意报文均不会返回错误, 在不需要对报文签名进行验证的情况(如微信支付账单文件下载)下使用
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
type WechatPayResponseValidator ¶
type WechatPayResponseValidator struct {
// contains filtered or unexported fields
}
WechatPayResponseValidator 微信支付 API v3 默认应答报文验证器
func NewWechatPayResponseValidator ¶
func NewWechatPayResponseValidator(verifier auth.Verifier) *WechatPayResponseValidator
NewWechatPayResponseValidator 使用 auth.Verifier 初始化一个 WechatPayResponseValidator
Click to show internal directories.
Click to hide internal directories.