Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReadynessHandler ¶
func NewReadynessHandler() *readynessHandler
NewReadynessHandler returns a new readynessHandler set to the unready state.
func RegisterMetrics ¶
func RegisterMetrics(r prometheus.Registerer) error
Types ¶
type HttpConfig ¶
type Mux ¶
type Mux struct {
// contains filtered or unexported fields
}
type MuxOpts ¶
type MuxOpts struct {
Logger zerolog.Logger
DefaultHandler http.Handler
ReadynessHandler *readynessHandler
PromRegisterer interface {
prometheus.Registerer
prometheus.Gatherer
}
}
Click to show internal directories.
Click to hide internal directories.