MCPcopy
hub / github.com/chanxuehong/wechat

github.com/chanxuehong/wechat @main sqlite

repository ↗ · DeepWiki ↗
1,001 symbols 1,980 edges 245 files 507 documented · 51%
README

wechat SDK for golang

https://github.com/chanxuehong/wechat

简介

模块 描述
mp 微信公众平台 SDK
mch 微信商户平台(微信支付) SDK

安装

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

一点简单的帮助文档, 也许对你有作用

联系方式

QQ群: 297489459

文档

代码下载下来后,放入 GOPATH 路径的 src 下面,可以在shell(windows 下面是 cmd) 里运行

godoc -http=:8080

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

http://localhost:8080/

即可查看文档

授权(LICENSE)

wechat is licensed under the Apache Licence, Version 2.0

Extension points exported contracts — how you extend this code

AccessTokenServer (Interface)
access_token 中控服务器接口. [1 implementers]
mp/core/access_token_server.go
TicketServer (Interface)
jsapi_ticket 中控服务器接口. [1 implementers]
mp/jssdk/ticket_server.go
Endpoint (Interface)
(no doc) [2 implementers]
oauth2/oauth2.go
Handler (Interface)
(no doc) [1 implementers]
mch/core/handler.go
Handler (Interface)
(no doc) [1 implementers]
mp/core/handler.go
CardTicketServer (Interface)
卡劵 api_ticket 中控服务器接口. [1 implementers]
mp/jssdk/card_ticket_server.go
TokenStorage (Interface)
(no doc)
oauth2/oauth2.go
HandlerFunc (FuncType)
(no doc)
mch/core/handler.go

Core symbols most depended-on inside this repo

PostJSON
called by 119
mp/core/client.go
WriteString
called by 81
mp/core/context.go
ServeError
called by 49
mch/core/error_handler.go
Get
called by 26
mp/core/context.go
Error
called by 24
oauth2/error.go
Error
called by 23
mch/core/error.go
GetJSON
called by 22
mp/core/client.go
APIBaseURL
called by 19
mch/core/api_base_url.go

Shape

Function 497
Struct 307
Method 172
TypeAlias 11
Interface 10
FuncType 4

Languages

Go100%

Modules by API surface

mp/core/handler.go27 symbols
mp/message/custom/msg.go26 symbols
mp/card/event.go22 symbols
mp/message/mass/preview/msg.go19 symbols
mp/message/callback/response/msg.go16 symbols
mp/menu/event.go16 symbols
mp/menu/menu.go15 symbols
mp/core/server.go15 symbols
mp/message/callback/request/msg.go14 symbols
mp/jssdk/ticket_server.go14 symbols
mp/datacube/upstream_msg.go14 symbols
mp/core/access_token_server.go14 symbols

For agents

$ claude mcp add wechat \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact