Skip to content
/ cities Public

A coding challenge for a job interview; preserved here for posterity

Notifications You must be signed in to change notification settings

pr00se/cities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cities

HTTP server that accepts JSON payloads of the form:

{ “count”: 4, “city”: “Atlanta” }

And exposes the per-city totals in Prometheus format.

Installation

go get github.com/pprus/cities

Running

go run cities.go (or just run the executable)

The server listens on port 8080 and exposes metrics at http://localhost:8080/metrics.

About

A coding challenge for a job interview; preserved here for posterity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages