https://github.com/whywaita/waiting-dog
https://github.com/whywaita/waiting-dog
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/whywaita/waiting-dog
- Owner: whywaita
- Created: 2018-06-06T03:23:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-02-16T12:51:21.000Z (about 1 year ago)
- Last Synced: 2025-02-16T13:52:07.170Z (about 1 year ago)
- Language: Go
- Homepage: https://waiting-dog.herokuapp.com/
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# waiting-dog
:dog: waiting your request.
# URL
```
$ curl https://waiting-dog.herokuapp.com/ # health check
{"health": "ok"}
$ curl https://waiting-dog.herokuapp.com/wait/1
# wait 1 second ...
{"message": "bow-wow!"}
$ curl https://waiting-dog.herokuapp.com/wait/100
# wait 100 second ...
{"message": "bow-wow!"}
$ curl https://waiting-dog.herokuapp.com/wait/random
# wait random time (1 - 10 second)
{"message": "bow-wow!"}
```