Documentation ¶
Index ¶
- Variables
- func AliyunAccessKeyID() string
- func AliyunAccessKeySecret() string
- func AliyunSmsMonitorTemplateCode() string
- func AliyunSmsSignName() string
- func AliyunVmsMonitorCalledShowNumber() string
- func AliyunVmsMonitorTtsCode() string
- func BundleUserID() string
- func DbName() string
- func DbPWD() string
- func DbUser() string
- func Debug() bool
- func ErdaSystemFQDN() string
- func ListenAddr() string
- func MysqlAddr() string
- func MysqlPort() string
- func PoolSize() int
- func Proxy() string
- func SMTPInsecureSkipVerify() string
- func SchedulerAddr() string
- func SmtpDisplayUser() string
- func SmtpHost() string
- func SmtpIsSSL() string
- func SmtpPassword() string
- func SmtpPort() string
- func SmtpUser() string
- func UseK8S() bool
- type Conf
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AliyunAccessKeyID ¶
func AliyunAccessKeyID() string
func AliyunAccessKeySecret ¶
func AliyunAccessKeySecret() string
func AliyunSmsMonitorTemplateCode ¶
func AliyunSmsMonitorTemplateCode() string
AliyunSmsMonitorTemplateCode 监控的短信通知模版code
func AliyunSmsSignName ¶
func AliyunSmsSignName() string
func AliyunVmsMonitorCalledShowNumber ¶
func AliyunVmsMonitorCalledShowNumber() string
AliyunVmsMonitorCalledShowNumber 监控的语音通知被呼显示号码
func AliyunVmsMonitorTtsCode ¶
func AliyunVmsMonitorTtsCode() string
AliyunVmsMonitorTtsCode 监控的语音通知模版code
func BundleUserID ¶
func BundleUserID() string
func ListenAddr ¶
func ListenAddr() string
func SMTPInsecureSkipVerify ¶
func SMTPInsecureSkipVerify() string
func SchedulerAddr ¶
func SchedulerAddr() string
func SmtpDisplayUser ¶
func SmtpDisplayUser() string
func SmtpPassword ¶
func SmtpPassword() string
Types ¶
type Conf ¶
type Conf struct { ListenAddr string `default:":9528" env:"LISTEN_ADDR"` PoolSize int `default:"100" env:"POOL_SIZE"` SchedulerAddr string `default:"127.0.0.1:6666" env:"SCHEDULER_ADDR"` MysqlAddr string `default:"" env:"MYSQL_HOST"` MysqlPort string `default:"" env:"MYSQL_PORT"` DbName string `default:"dice-test" env:"MYSQL_DATABASE"` DbUser string `default:"dice" env:"MYSQL_USERNAME"` DbPWD string `default:"Hello1234" env:"MYSQL_PASSWORD"` Debug bool `default:"false" env:"DEBUG"` UseK8S bool `env:"DICE_CLUSTER_TYPE"` ErdaSystemFQDN string `env:"ERDA_SYSTEM_FQDN"` }
Click to show internal directories.
Click to hide internal directories.