Versions in this module Expand all Collapse all v1 v1.1.0 Jun 28, 2020 v1.0.0 May 11, 2020 Changes in this version + const Channel + const Command + const Global + const Server + const User + func New(limit int, timeFrame time.Duration, flags int) router.MiddlewareFunc + func NewShared(limit int, timeFrame time.Duration, flags int) router.MiddlewareFunc + func NewSharedWithCatch(limit int, timeFrame time.Duration, flags int, catch middleware.CatchFunc) router.MiddlewareFunc + func NewWithCatch(limit int, timeFrame time.Duration, flags int, catch middleware.CatchFunc) router.MiddlewareFunc + type Handler struct + func (h *Handler) Middleware(fn router.Handler) router.Handler