Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthcheckHandler ¶ added in v0.19.0
func HealthcheckHandler(c echo.Context) error
HealthcheckHandler handles healthckeck 'OK' response
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
func SetupTokenMiddleware ¶ added in v0.22.0
func SetupTokenMiddleware() echo.MiddlewareFunc
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.