package
0.0.0-20180702072820-66aee76dcf70
Repository: https://github.com/targetliu/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.
DecryptMsg 消息解密.
EncryptMsg 加密消息.
GetCurrTs return current timestamps.
HTTPGet get 请求.
MD5Sum 计算 32 位长度的 MD5 sum.
PostFile 上传文件.
PostJSON post json 数据请求.
PostMultipartForm 上传文件或其他多个字段.
PostXML perform a HTTP/POST request with XML body.
RandomStr 随机生成字符串.
Signature sha1签名.