Documentation ¶
Overview ¶
Package wechat provide wechat sdk for go
Index ¶
- type Wechat
- func (wc *Wechat) GetMiniProgram(cfg *miniConfig.Config) *miniprogram.MiniProgram
- func (wc *Wechat) GetOfficialAccount(cfg *offConfig.Config) *officialaccount.OfficialAccount
- func (wc *Wechat) GetOpenPlatform(cfg *openConfig.Config) *openplatform.OpenPlatform
- func (wc *Wechat) GetPay(cfg *payConfig.Config) *pay.Pay
- func (wc *Wechat) SetCache(cache cache.Cache)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wechat ¶
type Wechat struct {
// contains filtered or unexported fields
}
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 获取微信公众号实例
func (*Wechat) GetOpenPlatform ¶
func (wc *Wechat) GetOpenPlatform(cfg *openConfig.Config) *openplatform.OpenPlatform
GetOpenPlatform 获取微信开放平台的实例
Directories ¶
Path | Synopsis |
---|---|
config
Package config 小程序config配置
|
Package config 小程序config配置 |
device
Package device 设备相关接口
|
Package device 设备相关接口 |
user
Package user blacklist 公众号用户黑名单管理 参考文档:https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html
|
Package user blacklist 公众号用户黑名单管理 参考文档:https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html |
context
Package context 开放平台相关context
|
Package context 开放平台相关context |
Click to show internal directories.
Click to hide internal directories.