package
0.0.0-20230308075401-fcf67a0f919f
Repository: https://github.com/ahkimkoo/wxwork.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package test 模拟微信服务器 测试.
No description provided by the author

# Functions

从 公众号实例 的 AccessToken 管理器 获取 access_token 如果没有 access_token 或者 已过期,那么刷新 */.
创建企业实例 */.
NoticeAccessTokenExpire 只需将本地存储的 access_token 删除,即完成了 access_token 已过期的 主动通知 retry 请求的时候,会发现本地没有 access_token ,从而触发refresh */.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
微信 api 服务器地址.

# Structs

AccessToken 管理器 处理缓存 和 刷新 逻辑 */.
应用 */.
应用配置 */.
HttpClient 用于向微信接口发送请求 */.
配置 */.
Corporation 企业实例 */.
响应微信请求 或 推送消息/事件 的服务器 */.

# Type aliases

GetAccessTokenFunc 获取 access_token 方法接口.
NoticeAccessTokenExpireFunc 通知中控 刷新 access_token.