# go test ./...
$ go build ./...
db, _ := ... // from github.com/jmoiron/sqlx
backend := sql.FromxDB(db, "api_usages")
middleware := gatekeeper.FromKeeper(backend)
http.Handle("/hello", middleware.Wrap(someHandler))
Simple, configurable, API key system.
# go test ./...
$ go build ./...
db, _ := ... // from github.com/jmoiron/sqlx
backend := sql.FromxDB(db, "api_usages")
middleware := gatekeeper.FromKeeper(backend)
http.Handle("/hello", middleware.Wrap(someHandler))
Simple, configurable, API key system.