mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-06-05 22:44:17 +00:00
e64fc7f730
* 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>
139 lines
1.5 KiB
Go
139 lines
1.5 KiB
Go
package ast
|
|
|
|
type Expr interface {
|
|
PositionHolder
|
|
exprMarker()
|
|
}
|
|
|
|
type ExprBase struct {
|
|
Node
|
|
}
|
|
|
|
func (expr *ExprBase) exprMarker() {}
|
|
|
|
/* ConstExprs {{{ */
|
|
|
|
type ConstExpr interface {
|
|
Expr
|
|
constExprMarker()
|
|
}
|
|
|
|
type ConstExprBase struct {
|
|
ExprBase
|
|
}
|
|
|
|
func (expr *ConstExprBase) constExprMarker() {}
|
|
|
|
type TrueExpr struct {
|
|
ConstExprBase
|
|
}
|
|
|
|
type FalseExpr struct {
|
|
ConstExprBase
|
|
}
|
|
|
|
type NilExpr struct {
|
|
ConstExprBase
|
|
}
|
|
|
|
type NumberExpr struct {
|
|
ConstExprBase
|
|
|
|
Value string
|
|
}
|
|
|
|
type StringExpr struct {
|
|
ConstExprBase
|
|
|
|
Value string
|
|
}
|
|
|
|
/* ConstExprs }}} */
|
|
|
|
type Comma3Expr struct {
|
|
ExprBase
|
|
AdjustRet bool
|
|
}
|
|
|
|
type IdentExpr struct {
|
|
ExprBase
|
|
|
|
Value string
|
|
}
|
|
|
|
type AttrGetExpr struct {
|
|
ExprBase
|
|
|
|
Object Expr
|
|
Key Expr
|
|
}
|
|
|
|
type TableExpr struct {
|
|
ExprBase
|
|
|
|
Fields []*Field
|
|
}
|
|
|
|
type FuncCallExpr struct {
|
|
ExprBase
|
|
|
|
Func Expr
|
|
Receiver Expr
|
|
Method string
|
|
Args []Expr
|
|
AdjustRet bool
|
|
}
|
|
|
|
type LogicalOpExpr struct {
|
|
ExprBase
|
|
|
|
Operator string
|
|
Lhs Expr
|
|
Rhs Expr
|
|
}
|
|
|
|
type RelationalOpExpr struct {
|
|
ExprBase
|
|
|
|
Operator string
|
|
Lhs Expr
|
|
Rhs Expr
|
|
}
|
|
|
|
type StringConcatOpExpr struct {
|
|
ExprBase
|
|
|
|
Lhs Expr
|
|
Rhs Expr
|
|
}
|
|
|
|
type ArithmeticOpExpr struct {
|
|
ExprBase
|
|
|
|
Operator string
|
|
Lhs Expr
|
|
Rhs Expr
|
|
}
|
|
|
|
type UnaryMinusOpExpr struct {
|
|
ExprBase
|
|
Expr Expr
|
|
}
|
|
|
|
type UnaryNotOpExpr struct {
|
|
ExprBase
|
|
Expr Expr
|
|
}
|
|
|
|
type UnaryLenOpExpr struct {
|
|
ExprBase
|
|
Expr Expr
|
|
}
|
|
|
|
type FunctionExpr struct {
|
|
ExprBase
|
|
|
|
ParList *ParList
|
|
Stmts []Stmt
|
|
}
|