Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfPath string Conf = &Config{} )
Conf info.
Functions ¶
Types ¶
type Config ¶
type Config struct { // bm BM *HTTPServers // db DB *DB // base // elk Xlog *log.Config // httpClinet HTTPClient *HTTPClient // tracer Tracer *trace.Config // Ecode Ecode *ecode.Config // host Host *Host // ArchStatus ArchStatus map[string]string // Redis Redis *Redis // Databus Env string Consume bool IsTest bool UpSub *upSub ChanSize int64 Monitor *Monitor // rpc client2 ArticleRPC *rpc.ClientConfig // identify App *blademaster.App Memcache *MC //API HOST API string Live string // rpc server RPCServer *rpc.ServerConfig GRPCServer *warden.ServerConfig // auth Auth *permit.Config // hbase HBase *HBaseConfig // Manager ManagerReport *databus.Config // GRPCClient GRPCClient *GRPC }
Config struct.
type DB ¶
type DB struct { // Creative db Creative *sql.Config Manager *sql.Config UpCRM *sql.Config ArcResult *sql.Config Archive *sql.Config }
DB conf.
type HBaseConfig ¶
type HBaseConfig struct { hbase.Config // extra config ReadTimeout time.Duration ReadsTimeout time.Duration WriteTimeout time.Duration WritesTimeout time.Duration }
HBaseConfig combine with hbase.Config add ReadTimeout, WriteTimeout
type HTTPClient ¶
type HTTPClient struct { Normal *blademaster.ClientConfig Slow *blademaster.ClientConfig }
HTTPClient conf.
type HTTPServers ¶
type HTTPServers struct {
Inner *blademaster.ServerConfig
}
HTTPServers for http server.
Click to show internal directories.
Click to hide internal directories.