go-ping

command module
v0.0.0-...-0387fdf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2023 License: GPL-2.0 Imports: 8 Imported by: 0

README

GO Ping

Use GAE to ping GCP Internal DNS Server

How to use

Local Test
$ INTERNAL_DNS=8.8.8.8 go run ./main.go
$ curl http://localhost:8080/ping
GAE
  • Create a GCP project
  • Deploy
$ gcloud config set project <YOUR_GCP_PROJECT_ID>
$ gcloud app deploy app.yaml
  • After deploy
$ curl https://<YOUR_GCP_PROJECT_ID>.appspot.com/ping

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL