Skip to content

smpio/http-sleep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-sleep

HTTP endpoint that just sleeps for specified duration and returns 200.

Usage

$ ./http-sleep -port 8000 &
$ time curl localhost:8000/3s
OK
real	0m3.011s

Duration can be any time.ParseDuration() recognizes.

About

HTTP endpoint that just sleeps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages