Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvDev = "dev" EnvProd = "prod" EnvTest = "test" EnvUat = "uat" )
Variables ¶
View Source
var ( Config ServiceConfig Redis *redistool.Client Host string Port int Limiter *redis_rate.Limiter LimitPerSecond int IsLimiterOpen bool Uptrace UptraceConfig )
Functions ¶
func InitConfig ¶
func InitConfig()
Types ¶
type ServiceConfig ¶
type UptraceConfig ¶
Click to show internal directories.
Click to hide internal directories.