setting

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package setting 微信支付api v3 go http-client 配置

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DialSettings

type DialSettings struct {
	HTTPClient *http.Client
	Request    *http.Request
	UserAgent  string
	Credential auth.Credential // authorization生成器
	Validator  auth.Validator  // 校验器
	Timeout    time.Duration   // 超时时间
}

DialSettings 微信支付apiv3 go http-client需要的配置信息

func (*DialSettings) Validate

func (ds *DialSettings) Validate() error

Validate 校验请求配置是否有效

Jump to

Keyboard shortcuts

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