checker

package
v0.0.0-...-f650555 Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Datastore it's a CheckType for datastores.
	Datastore htz.CheckType = "datastore"

	// App it's a CheckType for application info.
	App htz.CheckType = "app"
)

Variables

This section is empty.

Functions

func DB

func DB(db *sql.DB, optional bool) htz.Checker

DB returns the status of SQL driver connection.

func Redis

func Redis(client *redis.Client, optional bool) htz.Checker

Redis returns the status of Redis server

func Runtime

func Runtime(optional bool) htz.Checker

Runtime returns the status of application runtime.

Types

This section is empty.

Jump to

Keyboard shortcuts

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