Categorygithub.com/liuzhanpeng/go-wx-ccserver
modulepackage
0.0.0-20200528021837-82e5f0e7cf6a
Repository: https://github.com/liuzhanpeng/go-wx-ccserver.git
Documentation: pkg.go.dev

# README

go-wx-ccserver

微信中控服务器,统一管理access token和jsapi ticket。

特点

  • 公众号账号可配置,并支持不关机重新加载
  • 支持IP限制访问
  • 支持TLS

api调用

api文档

# Packages

Copyright © 2020 NAME HERE <EMAIL ADDRESS> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

# Functions

NewHMacSignatureValidator 创建基于HMac算法的签名验证组件.
NewPIDFile 创建pidfile对象.
NewServer 创建中控服务器.
NewStoreItem 创建存储项.
NewStoreManager 创建存储管理器.
NewTomlAccountProvider 创建公众号账号提供器.
NewWxFetcher 创建请求器.

# Variables

No description provided by the author
No description provided by the author

# Structs

Account 表示一个公众号账号.
APIRes 接口通用响应.
Config 配置.
HMacSignatureValidator 基于HMac算法(md5)的签名验证组件.
PIDFile pidfile锁.
Server 中控服务器.
StoreItem 保存access token和jsapi ticket.
StoreManager 存储管理器; 用于管理各个公众号的access token和jsapi ticket.
TicketRes 获取jsapi_ticket的接口的响应.
TokenRes 获取access token的接口的响应.
TomlAccountProvider 基于toml格式文件的公众号账号提供器.
WxFetcher 微信公众号请求器; 调用公众号API获取相应的token和ticket.

# Interfaces

AccountProvider 公众号账号信息提供器.
Fetcher 是access token/jsapi ticket的请求器接口.
SignatureValidator 签名验证器接口.