feat: add accessPolicy middleware to allow or deny a list of Ips
This commit is contained in:
@@ -9,6 +9,7 @@ const AccessMiddleware = "access" // access middlewares
|
||||
const BasicAuth = "basic" // basic authentication middlewares
|
||||
const JWTAuth = "jwt" // JWT authentication middlewares
|
||||
const OAuth = "oauth" // OAuth authentication middlewares
|
||||
const accessPolicy = "accessPolicy"
|
||||
|
||||
var (
|
||||
// Round-robin counter
|
||||
|
||||
Reference in New Issue
Block a user