healthcheck

package
v1.0.918-73a8605 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 10 Imported by: 2

Documentation

Overview

Package healthcheck implements the output admin API such as health checks and runtime profiling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(ctx context.Context, addr string, sys *system.System) (*httpserver.HTTPServer, error)

Types

type API

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

func New

func New(ctx context.Context, checked []system.HealthChecker) (*API, error)

func (*API) Handler

func (a *API) Handler() http.Handler

Jump to

Keyboard shortcuts

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