package
1.1.0
Repository: https://github.com/on7line/wechat.git
Documentation: pkg.go.dev

# Functions

AESDecrypt AES 解密.
AESDecryptMsg ciphertext = AES_Encrypt[random(16B) + msg_len(4B) + rawXMLMsg + appId]参考:github.com/chanxuehong/wechat.v2.
AESEncrypt AES加密.
AESEncryptMsg ciphertext = AES_Encrypt[random(16B) + msg_len(4B) + rawXMLMsg + appId]参考:github.com/chanxuehong/wechat.v2.
DecodeWithCommonError 将返回值按照CommonError解析.
DecryptMsg 消息解密.
EncryptMsg 加密消息.
GetCurrTs return current timestamps.
HTTPGet get 请求.
MD5 MD5哈希加密, 返回32位字符串.
MD5Sum 计算 32 位长度的 MD5 sum.
PostFile 上传文件.
PostJSON post json 数据请求.
PostMultipartForm 上传文件或其他多个字段.
PostXML perform a HTTP/POST request with XML body.
RandomStr 随机生成字符串.
SHA1 SHA1哈希加密.
Signature sha1签名.

# Structs

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