healthcheck

package
v0.0.0-...-7b9bfbb Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractServer

type AbstractServer struct {
	Enabled        bool
	ListenAddress  string
	Logger         logger.Logger
	StatusProvider status.Provider
	Handler        healthcheck.Handler
}

func NewAbstractServer

func NewAbstractServer(logger logger.Logger,
	statusProvider status.Provider,
	configuration *platformconfig.WebServer) (*AbstractServer, error)

func (*AbstractServer) Start

func (s *AbstractServer) Start() error

type Server

type Server interface {

	// Start the server
	Start() error
}

Jump to

Keyboard shortcuts

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