An open API service indexing awesome lists of open source software.

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

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.

[![Build Status](https://travis-ci.org/slavikdev/go-simple-server.svg?branch=master)](https://travis-ci.org/slavikdev/go-simple-server)

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