package
0.0.0-20160115235007-d4aa6c03c864
Repository: https://github.com/everythingme/vertex.git
Documentation: pkg.go.dev
# Packages
This middleware package for OAauth is incomplete (although it's working).
# Functions
NewAPIKeyValidator creates a new validator middleware.
NewCacheMiddleware creates a new Cache middleware.
No description provided by the author
No description provided by the author
NewIPRangeFilter creates a new filter with the given allowed CIDRs (e.g.
# Variables
AutoRecover is a middleware that recovers automatically from panics inside request handlers.
DefaultMiddleware is a quick set-up of the default middleware - logger, recover, CORS.
RequestLogger is a middleware that logs the paths and return values of all requests.
# Structs
APIKeyValidator is a simple request validator middleware that looks for an API key in the request form.
BasicAuth is a middleware that forces basic auth user/pass authentication on requests.
CacheMiddleware is a middleware that caches responses for requests based on their url, method and params.
ConnectionLimiter limits the maximum allowed open connections (actually concurrent running requests) on an API.
No description provided by the author
No description provided by the author
IPRangeFilter allows or denies ips based on a given set of IP ranges (CIDRs).