Documentation ¶
Index ¶
- type MiniProgram
- func (miniProgram *MiniProgram) GetAnalysis() *analysis.Analysis
- func (miniProgram *MiniProgram) GetAuth() *auth.Auth
- func (miniProgram *MiniProgram) GetBusiness() *business.Business
- func (miniProgram *MiniProgram) GetContentSecurity() *content.Content
- func (miniProgram *MiniProgram) GetContext() *context.Context
- func (miniProgram *MiniProgram) GetCustomerMessage() *message.Manager
- func (miniProgram *MiniProgram) GetEncryptor() *encryptor.Encryptor
- func (miniProgram *MiniProgram) GetMessageReceiver() *message.PushReceiver
- func (miniProgram *MiniProgram) GetMiniDrama() *minidrama.MiniDrama
- func (miniProgram *MiniProgram) GetOpenAPI() *openapi.OpenAPI
- func (miniProgram *MiniProgram) GetPrivacy() *privacy.Privacy
- func (miniProgram *MiniProgram) GetQRCode() *qrcode.QRCode
- func (miniProgram *MiniProgram) GetRiskControl() *riskcontrol.RiskControl
- func (miniProgram *MiniProgram) GetSURLScheme() *urlscheme.URLScheme
- func (miniProgram *MiniProgram) GetSecurity() *security.Security
- func (miniProgram *MiniProgram) GetShipping() *order.Shipping
- func (miniProgram *MiniProgram) GetShortLink() *shortlink.ShortLink
- func (miniProgram *MiniProgram) GetSubscribe() *subscribe.Subscribe
- func (miniProgram *MiniProgram) GetTcb() *tcb.Tcb
- func (miniProgram *MiniProgram) GetURLLink() *urllink.URLLink
- func (miniProgram *MiniProgram) GetVirtualPayment() *virtualpayment.VirtualPayment
- func (miniProgram *MiniProgram) GetWeRun() *werun.WeRun
- 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 NewMiniProgram ¶
func NewMiniProgram(cfg *config.Config) *MiniProgram
NewMiniProgram 实例化小程序 API
func (*MiniProgram) GetAnalysis ¶
func (miniProgram *MiniProgram) GetAnalysis() *analysis.Analysis
GetAnalysis 数据分析
func (*MiniProgram) GetAuth ¶
func (miniProgram *MiniProgram) GetAuth() *auth.Auth
GetAuth 登录/用户信息相关接口
func (*MiniProgram) GetBusiness ¶
func (miniProgram *MiniProgram) GetBusiness() *business.Business
GetBusiness 业务接口
func (*MiniProgram) GetContentSecurity ¶
func (miniProgram *MiniProgram) GetContentSecurity() *content.Content
GetContentSecurity 内容安全接口
func (*MiniProgram) GetContext ¶
func (miniProgram *MiniProgram) GetContext() *context.Context
GetContext get Context
func (*MiniProgram) GetCustomerMessage ¶
func (miniProgram *MiniProgram) GetCustomerMessage() *message.Manager
GetCustomerMessage 客服消息接口
func (*MiniProgram) GetEncryptor ¶
func (miniProgram *MiniProgram) GetEncryptor() *encryptor.Encryptor
GetEncryptor 小程序加解密
func (*MiniProgram) GetMessageReceiver ¶
func (miniProgram *MiniProgram) GetMessageReceiver() *message.PushReceiver
GetMessageReceiver 获取消息推送接收器
func (*MiniProgram) GetMiniDrama ¶
func (miniProgram *MiniProgram) GetMiniDrama() *minidrama.MiniDrama
GetMiniDrama 小程序娱乐微短剧
func (*MiniProgram) GetOpenAPI ¶
func (miniProgram *MiniProgram) GetOpenAPI() *openapi.OpenAPI
GetOpenAPI openApi 管理接口
func (*MiniProgram) GetPrivacy ¶
func (miniProgram *MiniProgram) GetPrivacy() *privacy.Privacy
GetPrivacy 小程序隐私协议相关 API
func (*MiniProgram) GetQRCode ¶
func (miniProgram *MiniProgram) GetQRCode() *qrcode.QRCode
GetQRCode 小程序码相关 API
func (*MiniProgram) GetRiskControl ¶
func (miniProgram *MiniProgram) GetRiskControl() *riskcontrol.RiskControl
GetRiskControl 安全风控接口
func (*MiniProgram) GetSURLScheme ¶
func (miniProgram *MiniProgram) GetSURLScheme() *urlscheme.URLScheme
GetSURLScheme 小程序 URL Scheme 接口
func (*MiniProgram) GetSecurity ¶
func (miniProgram *MiniProgram) GetSecurity() *security.Security
GetSecurity 内容安全接口
func (*MiniProgram) GetShipping ¶
func (miniProgram *MiniProgram) GetShipping() *order.Shipping
GetShipping 小程序发货信息管理服务
func (*MiniProgram) GetShortLink ¶
func (miniProgram *MiniProgram) GetShortLink() *shortlink.ShortLink
GetShortLink 小程序短链接口
func (*MiniProgram) GetSubscribe ¶
func (miniProgram *MiniProgram) GetSubscribe() *subscribe.Subscribe
GetSubscribe 小程序订阅消息
func (*MiniProgram) GetURLLink ¶
func (miniProgram *MiniProgram) GetURLLink() *urllink.URLLink
GetURLLink 小程序 URL Link 接口
func (*MiniProgram) GetVirtualPayment ¶
func (miniProgram *MiniProgram) GetVirtualPayment() *virtualpayment.VirtualPayment
GetVirtualPayment 小程序虚拟支付
func (*MiniProgram) GetWeRun ¶
func (miniProgram *MiniProgram) GetWeRun() *werun.WeRun
GetWeRun 微信运动接口
func (*MiniProgram) SetAccessTokenHandle ¶
func (miniProgram *MiniProgram) SetAccessTokenHandle(accessTokenHandle credential.AccessTokenHandle)
SetAccessTokenHandle 自定义 access_token 获取方式
Directories ¶
Path | Synopsis |
---|---|
Package config 小程序 config 配置
|
Package config 小程序 config 配置 |
Package minidrama Mini Program entertainment mini-drama related interface
|
Package minidrama Mini Program entertainment mini-drama related interface |
Package virtualpayment mini program virtual payment
|
Package virtualpayment mini program virtual payment |
Click to show internal directories.
Click to hide internal directories.