package
0.0.2
Repository: https://github.com/xulichen/halfway.git
Documentation: pkg.go.dev

# Functions

CircuitBreaker 断路器中间件.
No description provided by the author
restapi监控日志.
LoggerWithConfig returns a Logger middleware with config.
NewDefaultStore is in-memory store.
Recover returns a middleware which recovers from panics anywhere in the chain and handles the control to the centralized HTTPErrorHandler.
RecoverWithConfig returns a Recover middleware with config.
api接口全局限流器.
api接口本地限流器.
RouteUserLimitGlobal api接口单用户全局限流器.
报错通知地址 不设置不发送.
No description provided by the author

# Variables

DefaultLoggerConfig is the default Logger middleware config.

# Structs

CircuitBreakerConfig 断路器配置 Name 需保证唯一.
CustomBinder 自定bind.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author