Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultHandler ¶
type DefaultHandler struct{}
func (*DefaultHandler) ServeHTTP ¶
func (h *DefaultHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
DefaultHandler.ServeHTTP is the default handler.
type HealthzHandler ¶
type HealthzHandler struct { }
func (*HealthzHandler) ServeHTTP ¶
func (h *HealthzHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
HealthzHandler.ServeHTTP is the default healthz handler.
type Server ¶
type Server struct { // ctx context.Context Address string Debug bool // contains filtered or unexported fields }
func (*Server) ShutdownOnInterrupt ¶
type ServerStats ¶
type ServerStats struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.