health

package
v0.0.0-...-ecf1725 Latest Latest
Warning

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

Go to latest
Published: May 31, 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 HealthHandler

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

HealthHandler manages all endpoints related to system banner management.

func NewHealthHandler

func NewHealthHandler(manager HealthManager) HealthHandler

NewHealthHandler creates HealthHandler.

func (*HealthHandler) Install

func (self *HealthHandler) Install(w http.ResponseWriter, _ *http.Request) (int, error)

Install creates new endpoints for system banner management.

type HealthManager

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

HealthManager is a structure containing all system banner manager members.

func NewHealthManager

func NewHealthManager(client client.ClientManager) HealthManager

NewHealthManager creates new settings manager.

func (*HealthManager) Get

func (sbm *HealthManager) Get() health.Health

Get implements HealthManager interface. Check it for more information.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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