slavikdev / go-simple-server

Go HTTP Server Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go HTTP Server Example

HTTP server which on each request responds with a counter of the total number of requests that it has received during the previous 60 seconds (moving window). The server continues to return correct numbers after restart, by persisting data to a file.

Build Status

NOTE: Tests run long because there's a test which checks log cleanup as time goes.

About

Go HTTP Server Example


Languages

Language:Go 100.0%