wechat

package
v0.0.0-...-dd15167 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2022 License: MIT Imports: 9 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL