Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { MongoConfig MongoConfig `yaml:"mongodb"` MinioConfig MinioConfig `yaml:"minio"` QcloudConfig QcloudConfig `yaml:"qcloud"` SiteConfig SiteConfig `yaml:"site"` SMTPConfig SMTPConfig `yaml:"smtp"` }
Context 配置上下文
type MinioConfig ¶
type MinioConfig struct { Enabled bool Endpoint string HTTPS bool AccessKey string `yaml:"accessKey"` SecretKey string `yaml:"secretKey"` }
MinioConfig 对象存储配置
type MongoConfig ¶
MongoConfig MongoDB配置文件
type QcloudConfig ¶
type QcloudConfig struct { SecretID string `yaml:"secretID"` SecretKey string `yaml:"secretKey"` EnableCDN bool `yaml:"enableCDN"` }
QcloudConfig Qcloud配置文件
Click to show internal directories.
Click to hide internal directories.