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 Verify *verify.Config Tracer *trace.Config Redis *redis.Config Memcache *memcache.Config MySQL *sql.Config Ecode *ecode.Config LiveRpc map[string]*liverpc.ClientConfig DataBus *DataBus GeeTest *GeeTestConfig LogStream *LogStream }
Config .
type GeeTestConfig ¶
type GeeTestConfig struct { On int64 //是否开启极验 Id string //公钥 Key string //秘钥 Qps int64 //限制qps Slice int64 //限制qps的key分几份 Get HttpMethod //get配置 Post HttpMethod //post配置 }
GeeTestConfig ...
Click to show internal directories.
Click to hide internal directories.