health

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultHealthAPIServerConfig = HealthAPIServerConfig{
	HealthPort: 9880,
}
View Source
var HealthAPIServerCell = cell.Module(
	"health-api-server",
	"ClusterMesh Health API Server",

	cell.Config(DefaultHealthAPIServerConfig),
	cell.Invoke(registerHealthAPIServer),
)

Functions

This section is empty.

Types

type EndpointFunc

type EndpointFunc struct {
	Path        string
	HandlerFunc http.HandlerFunc
}

type HealthAPIServerConfig

type HealthAPIServerConfig struct {
	HealthPort int
}

func (HealthAPIServerConfig) Flags

func (def HealthAPIServerConfig) Flags(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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