1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-08 12:30:10 +02:00
seaweedfs/weed/mq/broker.go
2022-07-28 23:24:38 -07:00

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{}
}