This package provides TLS certificate based authentication middleware. Our goal is
compatibility with net/http
, httprouter
and possibly other popular Go HTTP
routers.
Examples of usage with various http router libs in the ./examples
directory.
@TODO: a couple steps
A big thanks to the https://github.com/unrolled/secure project whose approach to writing middleware helped us figure out our approach to creating this project.
- add support for github.com/julienschmidt/httprouter
- add examples for using with net/http and httprouter
- makefile with gvt for deps now that we're depending on httprouter
- circle.yml
- add helper for compatibility with negroni (example: https://github.com/unrolled/secure/blob/v1/secure.go#L110-L111)