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 Auth *permit.Config Tracer *trace.Config Redis *Redis Memcache *memcache.Config Ecode *ecode.Config RPC *RPC Host *Host // http client test HTTPClient HTTPClient // ORM ORM *orm.Config MySQL *sql.Config AegisPub *databus.Config Bfs *Bfs Bucket string Debug string Admin string // 所有业务的管理员 Consumer *Consumer Gray *Gray Auditstate map[string]string GRPC *GRPC }
Config .
type HTTPClient ¶
type HTTPClient struct { Read *bm.ClientConfig Write *bm.ClientConfig Es *bm.ClientConfig }
HTTPClient str
type RPC ¶
type RPC struct { Acc *rpc.ClientConfig Rel *rpc.ClientConfig Up *rpc.ClientConfig }
RPC .
Click to show internal directories.
Click to hide internal directories.