🎨 数据统计

This commit is contained in:
Liang Ding 2022-11-10 18:45:41 +08:00
parent 70490f3e16
commit 953ce38ab7
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
7 changed files with 51 additions and 12 deletions

View file

@ -17,11 +17,14 @@
package conf
type Stat struct {
DocCount int `json:"docCount"` // 总文档计数
TreeCount int `json:"treeCount"`
CTreeCount int `json:"cTreeCount"`
BlockCount int `json:"blockCount"`
CBlockCount int `json:"cBlockCount"`
DataSize int64 `json:"dataSize"`
CDataSize int64 `json:"cDataSize"`
}
func NewStat() *Stat {
return &Stat{
DocCount: 0,
}
return &Stat{}
}