Skip to content

I needed a simple HTTP server that would take a long time to serve responses

Notifications You must be signed in to change notification settings

Integralist/go-slow-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Slow Go HTTP Server

I needed a simple HTTP server that would take a long time to serve responses

Run

go run slow-server.go

Example

http://localhost:3000/       # Usage example /foo/5
http://localhost:3000/pugs   # I love pugs! (no delay)
http://localhost:3000/pugs/5 # I love pugs! (delayed by 5 seconds)

About

I needed a simple HTTP server that would take a long time to serve responses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages