validators

package
v0.0.0-...-00fe4b5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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 通知请求报文进行验证

Jump to

Keyboard shortcuts

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