wechat_pay

package
v0.0.0-...-d36ff20 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Merchant Merchant `toml:"merchant"`
}

type Merchant

type Merchant struct {
	ID                      string `toml:"id"`
	CertificateSerialNumber string `toml:"certificate-serial-number"`
	ApiV3Key                string `toml:"api-v3-key"`
	PrivateKeyFile          string `toml:"private-key-file"`
}

func (*Merchant) Open

func (p *Merchant) Open(ctx context.Context) (*core.Client, error)

Jump to

Keyboard shortcuts

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