Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RateLimit ¶
func RateLimit(rateLimiter *limiter.Limiter, rateLimitKind string) echo.MiddlewareFunc
RateLimit is the rate limit middleware
func RegisterRoutes ¶
func RegisterRoutes(e *echo.Echo)
RegisterRoutes registers all routes for the application
Types ¶
type CustomValidator ¶
type CustomValidator struct{}
CustomValidator is a dummy struct to use govalidator with echo
func (*CustomValidator) Validate ¶
func (cv *CustomValidator) Validate(i interface{}) error
Validate validates stuff
Click to show internal directories.
Click to hide internal directories.