mirror of
https://github.com/Starlio-app/Starlio-web.git
synced 2024-11-22 00:36:20 +03:00
11 lines
180 B
Go
11 lines
180 B
Go
package functions
|
|
|
|
import "net/http"
|
|
|
|
func Connected() (ok bool) {
|
|
_, err := http.Get("http://clients3.google.com/generate_204")
|
|
if err != nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|