Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf export config var Conf = &Config{} )
Functions ¶
Types ¶
type BnjLiveDanmu ¶
type BnjLiveDanmu struct { RoomID int64 Start string IgnoreRate int64 Level int32 IgnoreBegin time.Duration IgnoreEnd time.Duration }
BnjLiveDanmu .
type Config ¶
type Config struct { // base // log Xlog *log.Config Infoc2 *infoc.Config // tracer Tracer *trace.Config // http HTTPServer *bm.ServerConfig // database DB *DB // redis Redis *Redis // memcache Memcache *Memcache // Subtitle Cache SubtitleMemcache *Memcache DMMemcache *Memcache // archive rpc client ArchiveRPC *rpc.ClientConfig // seq-server rpc client SeqRPC *rpc.ClientConfig Seq *Seq // databus config Databus *Databus // dm list realname Realname map[string]int64 HTTPClient *bm.ClientConfig Host *Host BFSClient *bm.ClientConfig // client FliterRPC *warden.ClientConfig // MaskCate MaskCate *MaskCate // Bfs Bfs *Bfs // cache routine size RoutineSize int // bnj BNJ *BNJ // task config TaskConf *TaskConf }
Config danmaku config
type DB ¶
type DB struct { DMReader *sql.Config DMWriter *sql.Config BiliDMWriter *sql.Config QueryPageSize int32 }
DB mysql config struct
type Databus ¶
type Databus struct { IndexCsmr *databus.Config SubjectCsmr *databus.Config ActionCsmr *databus.Config ReportCsmr *databus.Config VideoupCsmr *databus.Config SubtitleAuditCsmr *databus.Config BnjCsmr *databus.Config }
Databus databus config
Click to show internal directories.
Click to hide internal directories.