middleware which wraps http.TimeoutHandler
kamilsk opened this issue · comments
func(handler http.Handler) http.Handler {
return http.TimeoutHandler(handler, 3*time.Second, "Timeout Error")
}
📡 Toolkit for service communication protocols. 🛰
kamilsk opened this issue · comments
func(handler http.Handler) http.Handler {
return http.TimeoutHandler(handler, 3*time.Second, "Timeout Error")
}