monitorredis

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 8 Imported by: 0

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 MQGroupInfo struct {
	Name      string `json:"name"`
	Consumers int64  `json:"consumers"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL