Versions in this module Expand all Collapse all v1 v1.0.37 Aug 12, 2023 Changes in this version + var ErrAppIDNotMatch = errors.New("app id not match") + var ErrInvalidBlockSize = errors.New("invalid block size") + var ErrInvalidPKCS7Data = errors.New("invalid PKCS7 data") + var ErrInvalidPKCS7Padding = errors.New("invalid padding on input") + func Develop(param *typwx.CommonWxaCodeParam) + func Trial(param *typwx.CommonWxaCodeParam) + type Param func(param *typwx.CommonWxaCodeParam) + type Wxmp interface + Auth func(appId, appSecret, code string) (*typwx.WxmpSession, error) + CreateLimitedWxaCode func(appId, appSecret, path string, width int, args ...Param) ([]byte, error) + CreateUnLimitedWxaCode func(appId, appSecret, scene, page string, width int, args ...Param) ([]byte, error) + DecryptMobileInfo func(appId, encryptedData, iv string) (*typwx.WxmpMobileInfo, error) + DecryptUserInfo func(appId, encryptedData, iv string) (*typwx.WxmpUserInfo, error) + GetAccessToken func(appId, appSecret string) (string, error) + GetUserPhoneNumber func(appId, appSecret, code string) (*typwx.WxmpMobileInfo, error) + func New() Wxmp