Versions in this module Expand all Collapse all v0 v0.2.0 Mar 22, 2026 Changes in this version + type MiniProgram struct + func New(corpId, secret, token, aesKey string, opts ...Option) *MiniProgram + func (w *MiniProgram) AccessToken() (contracts.AccessToken, error) + func (w *MiniProgram) AccessTokenCacheKey() string + func (w *MiniProgram) AesKey() string + func (w *MiniProgram) AppId() string + func (w *MiniProgram) AppSecret() string + func (w *MiniProgram) Auth() *auth.Auth + func (w *MiniProgram) Cache() (cache.Cache, string) + func (w *MiniProgram) ComponentAccessToken() string + func (w *MiniProgram) ComponentAppId() string + func (w *MiniProgram) IsOpenPlatform() bool + func (w *MiniProgram) PlatformType() string + func (w *MiniProgram) Token() string + type Option func(*option) + func WithCache(cache cache.Cache) Option + func WithCacheKeyPrefix(cacheKeyPrefix string) Option + func WithLocker(locker lock.Locker) Option