kvchecker

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

Checker 键值集群检查器

func NewChecker

func NewChecker(kc kv.KvConf, opts ...redis.Option) *Checker

NewChecker 新建键值集群检查器

func NewCheckerWithNodes

func NewCheckerWithNodes(nodes ...*redis.Redis) *Checker

NewCheckerWithNodes 通过已有节点新建键值集群检查器

func (*Checker) Check

func (c *Checker) Check(ctx context.Context) health.Health

Check 检查键值集群健康情况

Jump to

Keyboard shortcuts

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