health

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 5 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
}

func NewHealthHandler

func NewHealthHandler() *HealthHandler

func (*HealthHandler) Hook added in v0.8.0

func (h *HealthHandler) Hook(model *config.Model, modelSrv *service.Service)

implements Hook

func (*HealthHandler) RegisterHealthPoint

func (h *HealthHandler) RegisterHealthPoint(name string, isOkPtr *int32)

func (*HealthHandler) ServeHTTP

func (h *HealthHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)

implements http.Handler

type StatsHandler added in v0.8.0

type StatsHandler struct {
}

Deprecated. Used for maintaining non-model specific statistics

func NewStatsHandler added in v0.8.0

func NewStatsHandler() *StatsHandler

func (*StatsHandler) ServeHTTP added in v0.8.0

func (h *StatsHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)

implements http.Handler

Jump to

Keyboard shortcuts

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