healthcheck

package
v0.0.0-...-1080be4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheckHandler

type HealthCheckHandler struct {
	LogVerbosity string
	StartTime    time.Time
	Logger       *slog.Logger
}

func (*HealthCheckHandler) ServeHTTP

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

type HealthCheckResp

type HealthCheckResp struct {
	LogVerbosity string `json:"logVerbosity"`
	UpTime       string `json:"upTime"`
}

Jump to

Keyboard shortcuts

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