Documentation ¶
Index ¶
- func InjectWechatPayParameter(mchID string, apiCert core.ApiCert, mchAPIv3Key string) core.ClientOption
- func InjectWechatPayParameterUseCertPath(mchID string, mchAPIv3Key string, privateKeyPath string, ...) core.ClientOption
- func InjectWechatPayPlatformCert(platformSerialNo string, platformCertificate *x509.Certificate) core.ClientOption
- func InjectWechatPayPlatformCertUseCertPath(platformCertificatePath string) core.ClientOption
- func NewClient(opts ...core.ClientOption) (core.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectWechatPayParameter ¶ added in v1.3.2
func InjectWechatPayParameter(mchID string, apiCert core.ApiCert, mchAPIv3Key string) core.ClientOption
InjectWechatPayParameter InjectWechatPayParameter
func InjectWechatPayParameterUseCertPath ¶ added in v1.3.2
func InjectWechatPayParameterUseCertPath(mchID string, mchAPIv3Key string, privateKeyPath string, certificatePath string) core.ClientOption
InjectWechatPayParameterUseCertPath InjectWechatPayParameterUseCertPath
func InjectWechatPayPlatformCert ¶ added in v1.3.2
func InjectWechatPayPlatformCert(platformSerialNo string, platformCertificate *x509.Certificate) core.ClientOption
InjectWechatPayPlatformCert InjectWechatPayPlatformCert
func InjectWechatPayPlatformCertUseCertPath ¶ added in v1.3.2
func InjectWechatPayPlatformCertUseCertPath(platformCertificatePath string) core.ClientOption
InjectWechatPayPlatformCertUseCertPath InjectWechatPayPlatformCertUseCertPath
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.