Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LivenessHandler ¶
func LivenessHandler(w http.ResponseWriter, r *http.Request)
всегда отдает 200 Ok, если сервер умрет, то тут будет 502
func ReadinessHandler ¶
func ReadinessHandler(w http.ResponseWriter, r *http.Request)
Если сервер временно недоступен, то отдаст код 200
func SetServerStatus ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.