Documentation
¶
Overview ¶
Package wechat provide wechat sdk for go
使用Golang开发的微信SDK,简单、易用。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
PayMchID string //支付 - 商户 ID
PayNotifyURL string //支付 - 接受微信支付结果通知的接口地址
PayKey string //支付 - 商户后台设置的支付 key
}
Config for user
type Wechat ¶
type Wechat struct {
}
Wechat struct
func (*Wechat) GetMiniProgram ¶
func (wc *Wechat) GetMiniProgram(cfg *miniConfig.Config) *miniprogram.MiniProgram
GetMiniProgram 获取小程序的实例
func (*Wechat) GetOfficialAccount ¶
func (wc *Wechat) GetOfficialAccount(cfg *offConfig.Config) *officialaccount.OfficialAccount
GetOfficialAccount 获取微信公众号实例
Click to show internal directories.
Click to hide internal directories.