ping-request
ping-request
Expose an endpoint to ping a given host & tell whether it's up or not
Usage
Easily run using docker: docker run -p 8080:8080 -e TARGET_IP=127.0.0.1 matiasgarciaisaia/ping-request
You can alternatively run it locally, but you must ensure you have a compatible ping
command that accepts -w
for timeouts: TARGET_IP=127.0.0.1 crystal run src/ping-request.cr
.
Or build & run: crystal build --release src/ping-request.cr && TARGET_IP=127.0.0.1 ./ping-request
Contributing
- Fork it (https://github.com/matiasgarciaisaia/ping-request/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- matiasgarciaisaia Matias Garcia Isaia - creator, maintainer
Repository
ping-request
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- over 6 years ago
- August 14, 2018
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 07:37:17 GMT
Languages