https://github.com/slavikdev/go-simple-server
Go HTTP Server Example
https://github.com/slavikdev/go-simple-server
Last synced: about 1 year ago
JSON representation
Go HTTP Server Example
- Host: GitHub
- URL: https://github.com/slavikdev/go-simple-server
- Owner: slavikdev
- Created: 2017-06-21T17:07:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-22T00:10:36.000Z (almost 9 years ago)
- Last Synced: 2025-01-29T11:33:32.182Z (over 1 year ago)
- Language: Go
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
[](https://travis-ci.org/slavikdev/go-simple-server)
*NOTE: Tests run long because there's a test which checks log cleanup as time goes.*