Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Default ¶
type Default struct {
// contains filtered or unexported fields
}
Default is the default request handler
type Echo ¶
type Echo struct {
// contains filtered or unexported fields
}
Echo handler wrapper
type Handler ¶
type Handler interface { Handle(http.ResponseWriter, *http.Request) Start() Stop() }
Handler provides lifecycle hooks for an HttpHandler
type HealthCheck ¶
type HealthCheck struct {
// contains filtered or unexported fields
}
HealthCheck provides a handler for health check requests
func (*HealthCheck) Handle ¶
func (h *HealthCheck) Handle(w http.ResponseWriter, r *http.Request)
Handle healcheck requests
func (*HealthCheck) Stop ¶
func (h *HealthCheck) Stop()
Stop signals that the shutdown process has begun
Click to show internal directories.
Click to hide internal directories.