mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-06-06 22:49:43 +00:00
Add redis support for distributed caching (#83)
* Add redis support for distributed caching * Move towards the self-provided Redis connection pool and RESP protocol implementation. Official redis client library won't work with yaegi. * fixup! Move towards the self-provided Redis connection pool and RESP protocol implementation. Official redis client library won't work with yaegi. * fixup! fixup! Move towards the self-provided Redis connection pool and RESP protocol implementation. Official redis client library won't work with yaegi. * fixup! fixup! fixup! Move towards the self-provided Redis connection pool and RESP protocol implementation. Official redis client library won't work with yaegi. * fixup! fixup! fixup! fixup! Move towards the self-provided Redis connection pool and RESP protocol implementation. Official redis client library won't work with yaegi. * fixup! fixup! fixup! fixup! fixup! Move towards the self-provided Redis connection pool and RESP protocol implementation. Official redis client library won't work with yaegi. * ... and another all nighter. * fixup! ... and another all nighter. * fixup! fixup! ... and another all nighter. * fixup! fixup! fixup! ... and another all nighter. * Resolve issue #85 by adding ability to set custom claims in JWT tokens * Remove redundant validation in auth middleware ( issue #89 ) * Add ability to set cookie prefix for session cookies ( #87 ) * fixup! Add ability to set cookie prefix for session cookies ( #87 ) * Add ability to set cookie max age - issue #91 * Potential fix for code scanning alert no. 10: Size computation for allocation may overflow Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * fixup! Merge main into 0.8.0-redis: resolve conflicts --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
+107
@@ -0,0 +1,107 @@
|
||||
package ast
|
||||
|
||||
type Stmt interface {
|
||||
PositionHolder
|
||||
stmtMarker()
|
||||
}
|
||||
|
||||
type StmtBase struct {
|
||||
Node
|
||||
}
|
||||
|
||||
func (stmt *StmtBase) stmtMarker() {}
|
||||
|
||||
type AssignStmt struct {
|
||||
StmtBase
|
||||
|
||||
Lhs []Expr
|
||||
Rhs []Expr
|
||||
}
|
||||
|
||||
type LocalAssignStmt struct {
|
||||
StmtBase
|
||||
|
||||
Names []string
|
||||
Exprs []Expr
|
||||
}
|
||||
|
||||
type FuncCallStmt struct {
|
||||
StmtBase
|
||||
|
||||
Expr Expr
|
||||
}
|
||||
|
||||
type DoBlockStmt struct {
|
||||
StmtBase
|
||||
|
||||
Stmts []Stmt
|
||||
}
|
||||
|
||||
type WhileStmt struct {
|
||||
StmtBase
|
||||
|
||||
Condition Expr
|
||||
Stmts []Stmt
|
||||
}
|
||||
|
||||
type RepeatStmt struct {
|
||||
StmtBase
|
||||
|
||||
Condition Expr
|
||||
Stmts []Stmt
|
||||
}
|
||||
|
||||
type IfStmt struct {
|
||||
StmtBase
|
||||
|
||||
Condition Expr
|
||||
Then []Stmt
|
||||
Else []Stmt
|
||||
}
|
||||
|
||||
type NumberForStmt struct {
|
||||
StmtBase
|
||||
|
||||
Name string
|
||||
Init Expr
|
||||
Limit Expr
|
||||
Step Expr
|
||||
Stmts []Stmt
|
||||
}
|
||||
|
||||
type GenericForStmt struct {
|
||||
StmtBase
|
||||
|
||||
Names []string
|
||||
Exprs []Expr
|
||||
Stmts []Stmt
|
||||
}
|
||||
|
||||
type FuncDefStmt struct {
|
||||
StmtBase
|
||||
|
||||
Name *FuncName
|
||||
Func *FunctionExpr
|
||||
}
|
||||
|
||||
type ReturnStmt struct {
|
||||
StmtBase
|
||||
|
||||
Exprs []Expr
|
||||
}
|
||||
|
||||
type BreakStmt struct {
|
||||
StmtBase
|
||||
}
|
||||
|
||||
type LabelStmt struct {
|
||||
StmtBase
|
||||
|
||||
Name string
|
||||
}
|
||||
|
||||
type GotoStmt struct {
|
||||
StmtBase
|
||||
|
||||
Label string
|
||||
}
|
||||
Reference in New Issue
Block a user