Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLivenessServer ¶
func NewLivenessServer(cfg LivenessConfig) (*httputils.Server, error)
func NewMetricServer ¶
func NewMetricServer(cfg MetricsConfig) (*httputils.Server, error)
func NewPProfServer ¶
func NewPProfServer(cfg PProfConfig) (*httputils.Server, error)
Types ¶
type LivenessConfig ¶
type LivenessConfig struct {
LivenessPort string `mapstructure:"liveness_port"`
}
type MetricsConfig ¶
type MetricsConfig struct {
Port string `mapstructure:"port"`
}
type PProfConfig ¶
type PProfConfig struct {
Port string `mapstructure:"port"`
}
Click to show internal directories.
Click to hide internal directories.