Documentation
¶
Index ¶
Constants ¶
View Source
const ( UpdateTokenLockKey = "updateTokenLock" TokenHashKey = "token" TokenExpireHashKey = "expireAt" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WechatPublicApp ¶
type WechatPublicApp struct {
// contains filtered or unexported fields
}
func GetWechatPublicApp ¶
func GetWechatPublicApp() *WechatPublicApp
func NewWechatPublicApp ¶
func NewWechatPublicApp(config *config.WechatPublicConf) *WechatPublicApp
func (*WechatPublicApp) GetAccessToken ¶
func (self *WechatPublicApp) GetAccessToken() (string, int64, error)
func (*WechatPublicApp) Start ¶
func (self *WechatPublicApp) Start()
func (*WechatPublicApp) UpdateAccessToken ¶
func (self *WechatPublicApp) UpdateAccessToken()
Click to show internal directories.
Click to hide internal directories.