Documentation ¶
Index ¶
- type Config
- type Wechat
- func (wc *Wechat) GetAccessToken() (string, error)
- func (wc *Wechat) GetCustom() *custom.Custom
- func (wc *Wechat) GetJs() *js.Js
- func (wc *Wechat) GetMaterial() *material.Material
- func (wc *Wechat) GetMenu() *menu.Menu
- func (wc *Wechat) GetMiniQrCode() *miniprogram.MiniProgram
- func (wc *Wechat) GetOauth() *oauth.Oauth
- func (wc *Wechat) GetPay() *pay.Pay
- func (wc *Wechat) GetQrCode() *qr.QR
- func (wc *Wechat) GetSafe() *safe.WxSafe
- func (wc *Wechat) GetServer(req *http.Request, writer http.ResponseWriter) *server.Server
- func (wc *Wechat) GetTag() *user.Tag
- func (wc *Wechat) GetTemplate() *template.Template
- func (wc *Wechat) GetUser() *user.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ApiBaseUrl string QyApiBaseUrl string AppID string AppSecret string Token string EncodingAESKey string PayMchID string //支付 - 商户 ID PayNotifyURL string //支付 - 接受微信支付结果通知的接口地址 PayKey string //支付 - 商户后台设置的支付 key AccessTokenURL string PayCertPEMBlock string PayKeyPEMBlock string PayOpUserID string PayOpUserPwd string Cache cache.Cache }
Config for user
Click to show internal directories.
Click to hide internal directories.