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