redpkg

package
v0.0.0-...-2b36f50 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// wechatPayCertPath string //apiclient_cert.pem
	// wechatPayKeyPath  string //apiclient_key.pem
	// rootCPath         string //apiclient_cert.p12
	SignKey string //mchAPIv3Key
	// contains filtered or unexported fields
}

func NewClient

func NewClient(wechatPayCertPath, wechatPayKeyPath, rootCPath, mchAPIv3Key string, timeout time.Duration) (*Client, error)

func (*Client) SendNormalRedPkg

func (c *Client) SendNormalRedPkg(req normal.Normal) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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