Coder Social home page Coder Social logo

wechat's Introduction

changelog:

v0.8.12

Server 消息处理方式重构了

v0.8.11

Client 的 Media 系列方法名称做了个调整

首先来一个大广告哈哈

我的个人订阅号,刚开始做,先帮我凑齐500人先,不管你有没有需求哈,感谢了!

产先生二维码

微信公众平台 golang SDK

因为使用了 sync.Pool, 所以要求 go1.3+; 如果你的环境是 go1.3 以下, 自己实现 sync.Pool 接口, 或者可以联系我!!!

因为目前我的公众号只有基本接口权限,所以大部分功能(特别是微信小店)没有经过测试,所以请大家使用过程中发现问题及时通知我,谢谢!

Version: 0.8.12

NOTE: 在 v1.0.0 之前 API 都有可能微调

联系方式: [email protected] / [email protected]

QQ群: 297489459

简介

wechat 包主要分为三个部分,client、server 和 oauth2

client 主要实现的是“主动”请求功能,如发送客服消息,群发消息,创建菜单,创建二维码等等, 详见 https://github.com/chanxuehong/wechat/blob/master/client/readme.md

server 主要实现的是“被动”接收消息和处理功能,如被动接收文本消息及回复,被动接收语音消息及回复等等, 详见 https://github.com/chanxuehong/wechat/blob/master/server/readme.md

oauth2 主要实现的是网页授权获取用户基本信息功能,即微信扫描网页上的二维码实现 OAuth2 授权登录和获取用户信息, 详见 https://github.com/chanxuehong/wechat/blob/master/oauth2/readme.md

安装

通过执行下列语句就可以完成安装

go get -u github.com/chanxuehong/wechat/...

文档

离线文档

通过上面步骤下载下来后,可以在shell(windows 下面是 cmd) 里运行

godoc -http=:8080

然后在浏览器里地址栏输入

http://localhost:8080/

即可查看文档

授权(LICENSE)

wechat is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

wechat's People

Contributors

chanxuehong avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.