Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf config Conf = &Config{} )
Functions ¶
Types ¶
type Config ¶
type Config struct { Log *log.Config BM *bm.ServerConfig Tracer *trace.Config Memcache *memcache.Config MySQL *sql.Config Ecode *ecode.Config // Property Property *Property // mail MailConf *Mail MailTemplateConf *MailTemplateConfig // rpc client GRPCClient *RPC }
Config .
type Mail ¶
type Mail struct { Host string Port int Username, Password string DueMailReceivers []string // []adminname, send to adminname@bilibili.com DueAuthorityGroups []string }
Mail 邮件配置
type MailTemplateConfig ¶
type MailTemplateConfig struct { SignTmplTitle string SignTmplContent string PayTmplTitle string PayTmplContent string }
MailTemplateConfig mail template conf
Click to show internal directories.
Click to hide internal directories.