mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 11:09:12 +08:00
13 lines
190 B
Go
13 lines
190 B
Go
package mq
|
|
|
|
const LAST_MINUTES = 10
|
|
|
|
type TopicStat struct {
|
|
MessageCounts [LAST_MINUTES]int64
|
|
ByteCounts [LAST_MINUTES]int64
|
|
}
|
|
|
|
func NewTopicStat() *TopicStat {
|
|
return &TopicStat{}
|
|
}
|