seaweedfs/weed/mq/broker.go

13 lines
190 B
Go
Raw Normal View History

2022-07-10 16:36:23 +08:00
package mq
const LAST_MINUTES = 10
type TopicStat struct {
MessageCounts [LAST_MINUTES]int64
ByteCounts [LAST_MINUTES]int64
}
func NewTopicStat() *TopicStat {
return &TopicStat{}
}