dbchecker

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: 5 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(t xdb.Type, db *gorm.DB) *Checker

NewChecker 新建数据库检查器

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