Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildWithOption ¶
func BuildWithOption(log *blog.Logger, client *redis.Client, opts ...MqWatchOption) module.IMonitor
Types ¶
type MQGroupInfo ¶
type MQInfo ¶
type MQInfo struct { Name string `json:"name"` Len int64 `json:"len"` // 总的消息长度 NoAckLen int64 `json:"noacklen"` // 未被 ack 的消息长度 Groups []MQGroupInfo `json:"groups"` }
type MqWatchOption ¶
type MqWatchOption func(*MqWatchParm)
func WithWatchProt ¶
func WithWatchProt(prot string) MqWatchOption
type MqWatchParm ¶
type MqWatchParm struct {
Prot string
}
type ServiceInfo ¶
type ServiceInfo struct { }
Click to show internal directories.
Click to hide internal directories.