Documentation
¶
Overview ¶
公众号
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
OpenAIKey string `mapstructure:"OPEN_AI_KEY"`
AppID string `mapstructure:"APP_ID"`
AppSecret string `mapstructure:"APP_SECRET"`
Token string `mapstructure:"TOKEN"`
EncodingAESKey string `mapstructure:"ENCODING_AES_KEY"`
}
var DefaultConfig *Config
func LoadConfig ¶
type OfficialAccount ¶
type OfficialAccount struct {
// contains filtered or unexported fields
}
func NewOfficialAccount ¶
func NewOfficialAccount() *OfficialAccount
func (*OfficialAccount) GetMaterial ¶
func (oa *OfficialAccount) GetMaterial() *material.Material
Click to show internal directories.
Click to hide internal directories.