Documentation ¶
Index ¶
- type MiniProgram
- func (miniProgram *MiniProgram) GetAnalysis() *analysis.Analysis
- func (miniProgram *MiniProgram) GetAuth() *auth.Auth
- func (miniProgram *MiniProgram) GetContext() *context.Context
- func (miniProgram *MiniProgram) GetEncryptor() *encryptor.Encryptor
- func (miniProgram *MiniProgram) GetQRCode() *qrcode.QRCode
- func (miniProgram *MiniProgram) GetSubscribe() *subscribe.Subscribe
- func (miniProgram *MiniProgram) GetTcb() *tcb.Tcb
- func (miniProgram *MiniProgram) SetAccessTokenHandle(accessTokenHandle credential.AccessTokenHandle)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiniProgram ¶
type MiniProgram struct {
// contains filtered or unexported fields
}
MiniProgram 微信小程序相关API
func NewMiniProgramWithAkHandle ¶ added in v2.0.3
func NewMiniProgramWithAkHandle(cfg *config.Config, ak credential.AccessTokenHandle) *MiniProgram
func (*MiniProgram) GetAnalysis ¶
func (miniProgram *MiniProgram) GetAnalysis() *analysis.Analysis
GetAnalysis 数据分析
func (*MiniProgram) GetAuth ¶
func (miniProgram *MiniProgram) GetAuth() *auth.Auth
GetAuth 登录/用户信息相关接口
func (*MiniProgram) GetContext ¶
func (miniProgram *MiniProgram) GetContext() *context.Context
GetContext get Context
func (*MiniProgram) GetEncryptor ¶
func (miniProgram *MiniProgram) GetEncryptor() *encryptor.Encryptor
GetEncryptor 小程序加解密
func (*MiniProgram) GetQRCode ¶
func (miniProgram *MiniProgram) GetQRCode() *qrcode.QRCode
GetQRCode 小程序码相关API
func (*MiniProgram) GetSubscribe ¶
func (miniProgram *MiniProgram) GetSubscribe() *subscribe.Subscribe
GetSubscribe 小程序订阅消息
func (*MiniProgram) SetAccessTokenHandle ¶
func (miniProgram *MiniProgram) SetAccessTokenHandle(accessTokenHandle credential.AccessTokenHandle)
SetAccessTokenHandle 自定义access_token获取方式
Click to show internal directories.
Click to hide internal directories.