Directories ¶
Path | Synopsis |
---|---|
like https://gitea.com/lunny/log but made some adjustments
|
like https://gitea.com/lunny/log but made some adjustments |
//init pu,err:=NewProducer("192.168.0.197",4150) if err!=nil{ //error } b,_:=json.Marshal(obj) //发送 err = pu.Publish("topic",b) if err!=nil{ //error }
|
//init pu,err:=NewProducer("192.168.0.197",4150) if err!=nil{ //error } b,_:=json.Marshal(obj) //发送 err = pu.Publish("topic",b) if err!=nil{ //error } |
oauth
|
|
wechat
微信第三方登录相关 公众号支付相关 全局token相关 client:=NewClient(appId,secret) client.SetApiKey("支付的apiKey") ....
|
微信第三方登录相关 公众号支付相关 全局token相关 client:=NewClient(appId,secret) client.SetApiKey("支付的apiKey") .... |
pay
|
|
wepay
基础通讯业务实现 sam
|
基础通讯业务实现 sam |
使用方法: 1.
|
使用方法: 1. |
AES CBC PKCS5Padding加/解密 使用 hex.Encode 查看测试文件: aes_cbc_test.go http client 使用github.com/imroc/req库 返回string,如果需要到struct,需要自己反序列化
|
AES CBC PKCS5Padding加/解密 使用 hex.Encode 查看测试文件: aes_cbc_test.go http client 使用github.com/imroc/req库 返回string,如果需要到struct,需要自己反序列化 |
Click to show internal directories.
Click to hide internal directories.