package
1.0.0
Repository: https://github.com/fideism/golang-wechat.git
Documentation: pkg.go.dev

# Functions

AESDecryptMsg ciphertext = AES_Encrypt[random(16B) + msg_len(4B) + rawXMLMsg + appId]参考:github.com/chanxuehong/wechat.v2.
AESEncryptMsg ciphertext = AES_Encrypt[random(16B) + msg_len(4B) + rawXMLMsg + appId]参考:github.com/chanxuehong/wechat.v2.
CalculateSign 计算签名.
DecodeWithCommonError 将返回值按照CommonError解析.
DecodeWithCustomerStruct 将返回值按照CommonError解析.
DecodeWithError 将返回值按照解析.
DecryptMsg 消息解密.
EncryptMsg 加密消息.
GetCurrTS return current timestamps.
HTTPGet get 请求.
HTTPPost post 请求.
InterfaceToString 不定类型强制装换为string.
PostFile 上传文件.
PostJSON post json 数据请求.
PostJSONWithRespContentType post json数据请求,且返回数据类型.
PostMultipartForm 上传文件或其他多个字段.
RandomStr 随机生成字符串.
Signature sha1签名.

# Constants

微信签名算法方式.
微信签名算法方式.

# Structs

CommonError 微信返回的通用错误json.
MultipartFormField 保存文件或其他字段信息.

# Type aliases

Params map[string]interface{}.