package
0.0.0-20220320054816-510583427c69
Repository: https://github.com/vicanso/tiny-site.git
Documentation: pkg.go.dev

# Functions

NewConcurrentLimit 创建并发限制的中间件.
NewConcurrentLimitWithDone 创建并发限制中间件,完成时则执行done清除.
NewEntry create an entry middleware.
New Error handler.
NewErrorLimit 创建出错限制中间件.
No description provided by the author
NewIPBlocker create a new block ip middleware.
NewIPLimit 创建IP限制中间件.
NewMethodNotAllowedHandler 创建method not allowed的处理函数.
NewNoCacheWithCondition 创建no cache的中间件,此中间件根据设置的key value来判断是否设置为no cache.
NewNotFoundHandler 创建404 not found的处理函数.
NewPrefixHandler create a new request url prefix handler.
NewRouterMocker create a router mocker.
No description provided by the author
ValidateCaptcha 图形难码校验.
WaitFor 延时响应中间件,设置最少等待多久再响应.

# Variables

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author