gochat

package module
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: MIT Imports: 5 Imported by: 0

README

Documentation

Overview

Package gochat 微信 SDK for Go

/mch ---> 微信商户平台 ---> 统一下单、支付、退款、查询、委托代扣、企业付款、企业红包 等

/pub ---> 微信公众平台(订阅号,服务号) ---> 网页授权、菜单、模板消息、消息回复、用户管理、消息转客服 等

/mp ---> 微信小程序 ---> 小程序授权、用户数据解析、二维码生成、消息 等

For more details, see the documentation for the types and methods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWXMP

func NewWXMP(appid, appsecret string) *mp.WXMP

NewWXMP 微信小程序

func NewWXMch

func NewWXMch(appid, mchid, apikey string, cert tls.Certificate) *mch.WXMch

NewWXMch 微信商户

func NewWXPub

func NewWXPub(accountid, appid, appsecret, signToken, encodingAESKey string) *pub.WXPub

NewWXPub 微信公众号

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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