Starlio-web/functions/connect.go

12 lines
186 B
Go
Raw Normal View History

2022-09-18 19:28:29 +03:00
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
}