Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Conf = &Config{}
)
Conf global variable.
Functions ¶
Types ¶
type Config ¶
type Config struct { Log *log.Config Tracer *trace.Config Databus *databus.Config SmsGRPC *warden.ClientConfig HTTPClient *bm.ClientConfig HTTPServer *bm.ServerConfig UserReport *databus.Config Wechat *wechat Provider *Provider Speedup *speedup Sms *sms }
Config struct of conf.
type Provider ¶
type Provider struct { Providers []int32 // meng wang MengWangSmsURL string MengWangSmsUser string MengWangSmsPwd string MengWangActURL string MengWangBatchURL string MengWangActUser string MengWangActPwd string MengWangInternationURL string MengWangInternationUser string MengWangInternationPwd string // chaung lan ChuangLanSmsURL string ChuangLanSmsUser string ChuangLanSmsPwd string ChuangLanActURL string ChuangLanActUser string ChuangLanActPwd string ChuangLanInternationURL string ChuangLanInternationUser string ChuangLanInternationPwd string // chuang lan callback ChuangLanSmsCallbackURL string ChuangLanActCallbackURL string ChuangLanInternationalCallbackURL string // meng wang callback MengWangSmsCallbackURL string MengWangActCallbackURL string MengWangInternationalCallbackURL string }
Provider provider conf
Click to show internal directories.
Click to hide internal directories.