validators

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 12 Imported by: 5

Documentation

Overview

Package validators 微信支付api v3 go http-client 回包校验器

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WechatPayValidator

type WechatPayValidator struct {
	Verifier auth.Verifier // 验证器
}

WechatPayValidator 回包校验器

func (*WechatPayValidator) Validate

func (validator *WechatPayValidator) Validate(ctx context.Context, response *http.Response) error

Validate 使用验证器对回包进行校验

Jump to

Keyboard shortcuts

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