No description, website, or topics provided.
Go Makefile
Latest commit f2346db Feb 17, 2017 @tychoish add text handling
Failed to load latest commit information.
buildscripts buildsystem for vendoring Sep 7, 2016
vendor/ update testing vendored libs Feb 9, 2017
.gitignore buildsystem Sep 7, 2016
.travis.yml ci: fix platforms Oct 20, 2016
app.go add sethost method Jan 3, 2017
app_test.go lint fixes Sep 9, 2016
counter.go add request counters Feb 9, 2017
glide.lock update vendored logging package Feb 9, 2017
glide.yaml update testing vendored libs Feb 9, 2017
grip_logging.go add request counters Feb 9, 2017
grip_message_test.go upgrade grip Feb 6, 2017
handling_json.go add text handling Feb 17, 2017
handling_text.go add text handling Feb 17, 2017
makefile build system Oct 20, 2016
methods.go reorganize methods Sep 7, 2016
routing_test.go routing tests Sep 10, 2016


''gimlet -- HTTP/JSON API Toolkit

gimlet is a simple collection of tools for creating simple versioned JSON/HTTP APIs. It builds on standard library tools and components of gorilla (mux) and negroni.

The goal:

  • Allow developers to implement HTTP/JSON APIs by writing http.HandlerFunc methods and passing encoding/json marshallable types to simple response-writing methods.
  • Make it easy to define a set of routes with a version prefix, and manage the version prefix at the routing layer rather than in handlers.
  • Reuse common components as necessary, and avoid recreating existing tools or making a large inflexible tool.

In short I was writing a JSON/HTTP API, and wanted the above properties and found that I had written a little library that didn't really have anything to do with the app I was writing so I'm spinning it out both because I want to use this in my next project and I hope you may find it useful.

You can read an introductory blog post, if you like.