Skip to content

plattthompson/srv42

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catch All Test HTTP Server

You can listen to any and all incoming requests and print them to stdout, or you can serve local static files if you provide a path.

Usage

srv42

To use another port than 1337:

srv42 -p 5000

To response another status than 202 (ignored if a path is provided):

srv42 -s 204

To have the full details of the request:

srv42 -v

To serve static files:

srv42 www/static/

About

🌐 Catch All HTTP Server

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 83.0%
  • Makefile 17.0%