Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { EntryPoint string `description:"EntryPoint" export:"true" json:"entryPoint,omitempty" toml:"entryPoint,omitempty" yaml:"entryPoint,omitempty"` ManualRouting bool `description:"Manual routing" json:"manualRouting,omitempty" toml:"manualRouting,omitempty" yaml:"manualRouting,omitempty"` // contains filtered or unexported fields }
Handler expose ping routes.
func (*Handler) ServeHTTP ¶ added in v2.1.0
func (h *Handler) ServeHTTP(response http.ResponseWriter, request *http.Request)
func (*Handler) WithContext ¶
WithContext causes the ping endpoint to serve non 200 responses.
Click to show internal directories.
Click to hide internal directories.