healthz

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitHealthz

func InitHealthz(app *iris.Application)

InitHealthz register iris healthz handler

func SetCustomHealthzChecks

func SetCustomHealthzChecks(checks []config.HealthzChecks)

SetCustomHealthzChecks healthz checks

func SetTraceLog

func SetTraceLog(enable bool)

SetTraceLog boolean

Types

type LivenessCheckResult

type LivenessCheckResult struct {
	Name    string
	Status  string
	Message string
}

LivenessCheckResult options

type PingableSession

type PingableSession interface {
	Ping() error
}

PingableSession pingable

Jump to

Keyboard shortcuts

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