Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
MiniApp MiniAppConfig `json:"miniApp" yaml:"miniApp"`
}
type MiniApp ¶
type MiniApp struct { Client *miniProgram.MiniProgram // contains filtered or unexported fields }
MiniApp Doc: https://powerwechat.artisan-cloud.com/zh/mini-program/index.html
func NewMiniApp ¶
func NewMiniApp(c MiniAppConfig) *MiniApp
type MiniAppConfig ¶
type MiniAppConfig struct { AppId string `json:"appId" yaml:"appId"` AppSecret string `json:"appSecret" yaml:"appSecret"` Token string `json:"token" yaml:"token"` AESKey string `json:"aesKey" yaml:"aesKey"` HttpDebug bool `json:"httpDebug" yaml:"httpDebug"` CacheRedis redis.Redis `json:"cacheRedis" yaml:"cacheRedis"` }
Click to show internal directories.
Click to hide internal directories.