Versions in this module Expand all Collapse all v0 v0.1.0 Jan 12, 2024 Changes in this version + var DefaultLoggerConfig = LoggerConfig + func Logger() echo.MiddlewareFunc + func LoggerWithConfig(config LoggerConfig) echo.MiddlewareFunc + func PoweredBy(config PoweredByConfig) echo.MiddlewareFunc + func RateLimiting(config *RateLimitingConfig) echo.MiddlewareFunc + func SetLang(config SetLangConfig) echo.MiddlewareFunc + type LoggerConfig struct + CustomTimeFormat string + Format string + MinBodySize int + Output io.Writer + Skipper middleware.Skipper + Timeout time.Duration + type PoweredByConfig struct + Name string + Skipper middleware.Skipper + Version string + type RateLimitingCache struct + Expired time.Time + Value int + type RateLimitingConfig struct + Cache map[string]*RateLimitingCache + Callback func(req *http.Request, res *echo.Response, c echo.Context) error + Generator func(req *http.Request, res *echo.Response, c echo.Context) string + Limit int + Skipper middleware.Skipper + Window time.Duration + type SetLangConfig struct + Language func(req *http.Request, res *echo.Response, c echo.Context) string + Languages []language.Tag + Skipper middleware.Skipper