redis

package
v0.0.0-...-8aca8b6 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPeriod = 5 * time.Minute
)

Variables

This section is empty.

Functions

func Ping

func Ping(c *redis.Client, opts ...Option) health.Check

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func Period

func Period(d time.Duration) Option

type OptionFunc

type OptionFunc func(*check)

Jump to

Keyboard shortcuts

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