Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_DB_WRITE_BATCH = 200 DEFAULT_DB_WRITE_BATCH_INTERVAL = 200 //默认200ms )
Variables ¶
View Source
var ( DBWriteBatch int DBWriteBatchInterval int )
View Source
var DB *sql.DB
Functions ¶
func FlushToDB ¶
func FlushToDB(key int64, items []*g.TrendResult)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.