wechat

package
v0.0.0-...-849f898 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisFetcher

type RedisFetcher func() redis.Conn

RedisFetcher get redis connection

type WxConfig

type WxConfig struct {
	AppName        string
	AppID          string
	AppSecret      string
	EncodingAESKey string
	PubAccToken    string
	PayMchID       string //支付 - 商户 ID
	PayNotifyURL   string //支付 - 接受微信支付结果通知的接口地址
	PayKey         string //支付 - 商户后台设置的支付 key
	RedisFetcher   RedisFetcher
}

func (*WxConfig) SetRedisFetcher

func (s *WxConfig) SetRedisFetcher(fetcher RedisFetcher)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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