Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheWithRevalidation ¶
func CacheWithRevalidation(next echo.HandlerFunc) echo.HandlerFunc
func LoggingMiddleware ¶
func NewEchoServer ¶
NewEchoServer creates and configures a new Echo server instance. Parameters:
- cfg: The application configuration.
Returns:
- *echo.Echo: A configured Echo server instance.
Types ¶
type CustomValidator ¶
type CustomValidator struct {
// contains filtered or unexported fields
}
func (*CustomValidator) Validate ¶
func (v *CustomValidator) Validate(i interface{}) error
type Middleware ¶ added in v0.0.9
type Middleware struct {
// contains filtered or unexported fields
}
func NewMiddleware ¶ added in v0.0.9
func NewMiddleware(jwt *app_jwt.JWT) *Middleware
func (*Middleware) JWTMiddleware ¶ added in v0.0.9
func (m *Middleware) JWTMiddleware() echo.MiddlewareFunc
Middleware function to validate JWT token
Click to show internal directories.
Click to hide internal directories.