health

package
v0.0.0-...-83a8c6e Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Service        providers.KeyManagementService
	HealthCheckURL *url.URL
	UnixSocketPath string
	Timeout        time.Duration
}

Service Healtz endpoint.

func (*Service) Serve

func (h *Service) Serve() error

Serve creates the http handler for serving health requests.

func (*Service) ServeHTTP

func (h *Service) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP is handling healthz requests.

Jump to

Keyboard shortcuts

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