seaweedfs/weed/mq/broker.go

13 lines
190 B
Go
Raw Permalink Normal View History

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