# Functions
AuthHeaderRequired is a very weak auth to verify token existence only.
AuthVerifyJWT Authenticate middleware function.
LimitRate rate limites against http handler use semaphore as a simple rate limiter.
NewSema creates a new semaphore.
NoAuth bypasses the auth middleware.
# Variables
Rate is the default global rate limit This rate only limits the rate hitting on endpoint It does not limit the underline resource access.
# Type aliases
AuthFunc is a function type to allow pluggable authentication middleware.