Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config config.Config Viper *viper.Viper // 后面可能会对配置文件操作,可以通过它来实现 Logs *zap.Logger DB *gorm.DB Redis *redis.Pool Jaeger io.Closer RpcClient client.RpcClient )
View Source
var CaptchaStore = base64Captcha.DefaultMemStore
Functions ¶
func InitJaeger ¶
func InitJaeger(service, address string)
func InitRpcClient ¶
func InitRpcClient(cfg *config.RpcClient, opts ...client.DialOption)
Types ¶
Click to show internal directories.
Click to hide internal directories.