for error 502

This commit is contained in:
Данил 2022-09-18 19:28:29 +03:00
parent 253988c4eb
commit 33cb1e23db

11
functions/connect.go Normal file
View file

@ -0,0 +1,11 @@
package functions
import "net/http"
var Connected = func() (ok bool) {
_, err := http.Get("http://clients3.google.com/generate_204")
if err != nil {
return false
}
return true
}