https://github.com/leen15/golang-ping
ping pong server in golang: respond to /ping with 'pong'
https://github.com/leen15/golang-ping
docker golang healthcheck ping pong
Last synced: 7 months ago
JSON representation
ping pong server in golang: respond to /ping with 'pong'
- Host: GitHub
- URL: https://github.com/leen15/golang-ping
- Owner: Leen15
- Created: 2019-07-30T08:30:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T08:30:23.000Z (about 6 years ago)
- Last Synced: 2025-01-21T11:22:53.197Z (9 months ago)
- Topics: docker, golang, healthcheck, ping, pong
- Language: Go
- Size: 1000 Bytes
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ping Pong Server in Go
A simple ping pong server used for health check proposes: It responses to /ping with a "pong".## Usage
This webserver works inside docker, so to use it simple run it:
`docker run -d -p 80:80 leen15/golang-ping`
And now it will response to any ping request:
```
$ curl http://0.0.0.0/ping
pong
```## License
This project is released under the terms of the [MIT license](http://en.wikipedia.org/wiki/MIT_License).