wechat

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package wechat provide wechat sdk for go

使用Golang开发的微信SDK,简单、易用。

更多信息:https://github.com/silenceper/wechat

Index

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 NewWechat

func NewWechat() *Wechat

NewWechat init

func (*Wechat) GetOfficialAccount

func (wc *Wechat) GetOfficialAccount(cfg *offConfig.Config) *officialaccount.OfficialAccount

GetOfficialAccount 获取微信公众号实例

func (*Wechat) GetPay

func (wc *Wechat) GetPay(cfg *payConfig.Config) *pay.Pay

GetPay 获取微信支付的实例

func (*Wechat) SetCache

func (wc *Wechat) SetCache(cahce cache.Cache)

SetCache 设置cache

Directories

Path Synopsis
device
Package device 设备相关接口
Package device 设备相关接口
js
ocr
user
Package user migrate 用于微信公众号账号迁移,获取openID变化 参考文档:https://kf.qq.com/faq/1901177NrqMr190117nqYJze.html
Package user migrate 用于微信公众号账号迁移,获取openID变化 参考文档:https://kf.qq.com/faq/1901177NrqMr190117nqYJze.html
pay

Jump to

Keyboard shortcuts

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