Skip to content

phosae/echo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

echo-server

  • / echo full request back to body, use the query parameter code to configure the response code, and use the query parameter duration to configure the handling duration. For example, curl -i '127.1:8080/?code=500&duration=2s'.
  • /hello status 200 and hello world
  • /cpu cpu info
  • /vmem virtual memory info
  • /net return network interface list
docker run --rm -d -p 8080:80 zengxu/echo-server

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published