Documentation ¶
Index ¶
- func ApplyMiddleware(h http.Handler) http.Handler
- func NewLivenessHandler() http.Handler
- func NewMetricsHandler(gs []*exporter.GitHubCollector) http.Handler
- func NewNotFoundHandler() http.Handler
- func NewReadinessHandler() http.Handler
- type LivenessHandler
- type NotFoundHandler
- type ReadinessHandler
- type Routes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLivenessHandler ¶
func NewMetricsHandler ¶
func NewMetricsHandler(gs []*exporter.GitHubCollector) http.Handler
func NewNotFoundHandler ¶
func NewReadinessHandler ¶
Types ¶
type LivenessHandler ¶
type LivenessHandler struct{}
func (*LivenessHandler) ServeHTTP ¶
func (h *LivenessHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type NotFoundHandler ¶
type NotFoundHandler struct{}
func (*NotFoundHandler) ServeHTTP ¶
func (h *NotFoundHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ReadinessHandler ¶
type ReadinessHandler struct{}
func (*ReadinessHandler) ServeHTTP ¶
func (h *ReadinessHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.