⛩️ Go library for protecting your HTTP handlers
ClientProvider.StartCacheJanitor
and ClientProvider.StopCacheJanitor
by @TwiN in https://github.com/TwiN/g8/pull/12
Full Changelog: https://github.com/TwiN/g8/compare/v1.4.0...v2.0.0
feat(gate): Add Gate.PermissionMiddleware
Added ExtractTokenFromRequest
method in Gate
struct
g8.New()
g8.NewGate(authorizationService)
in favor of g8.New()
Updated TwiN/gocache to v2.0.0
⚠ Migrated TwinProduction/g8 to TwiN/g8
Added support for rate limiting #3
Gate.ProtectFuncWithPermission
now returns http.HandlerFunc
instead of http.Handler
Updated gocache from v1.0.0 to v1.1.0