Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeoutHandler = http.HandlerFunc( func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusGatewayTimeout) w.Write([]byte("Service timeout")) })
DefaultTimeoutHandler is a convenient timeout handler which simply returns "504 Service timeout".
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.