Documentation
¶
Index ¶
Constants ¶
View Source
const ( HealthzHost = "0.0.0.0" HealthzPort = "8080" MetricsHost = "0.0.0.0" MetricsPort = "7300" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthzServer ¶
type HealthzServer struct {
// contains filtered or unexported fields
}
func NewHealthzServer ¶ added in v0.3.1
func NewHealthzServer(logger log.Logger) *HealthzServer
func (*HealthzServer) Handle ¶
func (h *HealthzServer) Handle(w http.ResponseWriter, r *http.Request)
func (*HealthzServer) Shutdown ¶
func (h *HealthzServer) Shutdown() error
type MetricsServer ¶
type MetricsServer struct {
// contains filtered or unexported fields
}
func (*MetricsServer) Shutdown ¶
func (m *MetricsServer) Shutdown() error
Click to show internal directories.
Click to hide internal directories.