redis

package
v4.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config) func(ctx context.Context) error

New creates new Redis health check that verifies the following: - connection establishing - doing the PING command and verifying the response

Types

type Config

type Config struct {
	// DSN is the Redis instance connection DSN. Required.
	DSN string
}

Config is the Redis checker configuration settings container.

Jump to

Keyboard shortcuts

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