Skip to content

Simple, configurable, API key system.

Notifications You must be signed in to change notification settings

Thooms/gatekeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatekeeper

GoDoc

Build

# go test ./...
$ go build ./...

Usage

db, _ := ...                             // from github.com/jmoiron/sqlx
backend := sql.FromxDB(db, "api_usages")
middleware := gatekeeper.FromKeeper(backend)
http.Handle("/hello", middleware.Wrap(someHandler))

About

Simple, configurable, API key system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages