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)
Click to show internal directories.
Click to hide internal directories.