check

package
v0.0.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GormCheck

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

func NewGormCheck

func NewGormCheck(db *gorm.DB) *GormCheck

func (*GormCheck) Name

func (r *GormCheck) Name() string

func (*GormCheck) Pass

func (r *GormCheck) Pass() bool

type MinioCheck

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

func NewMinioCheck

func NewMinioCheck(client *minio.Client) *MinioCheck

func (*MinioCheck) Name

func (r *MinioCheck) Name() string

func (*MinioCheck) Pass

func (r *MinioCheck) Pass() bool

type RedisCheck

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

func NewRedisCheck

func NewRedisCheck(rdb redis.UniversalClient) *RedisCheck

func (*RedisCheck) Name

func (r *RedisCheck) Name() string

func (*RedisCheck) Pass

func (r *RedisCheck) Pass() bool

type SmtpCheck

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

func NewSmtpCheck

func NewSmtpCheck(smtp smtp.Sender) *SmtpCheck

func (*SmtpCheck) Name

func (r *SmtpCheck) Name() string

func (*SmtpCheck) Pass

func (r *SmtpCheck) Pass() bool

Jump to

Keyboard shortcuts

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