# Functions

CurrentMicrosecond 获取微秒时间.
CurrentMillisecond 获取微秒时间.
CurrentNanosecond obtains the current microsecond, use syscall for better performance.
IsSuccess 是否成功错误码.
IsSysErr 是否成功错误码.
IsUserErr 是否成功错误码.
NewIPAddress 创建IP地址数据.
NewSlidingWindow 创建滑窗.
ParseClientAddr 从ctx中获取客户端连接地址,ip:port形式.
ParseClientIP 从ctx中获取客户端IP.
ParseLabels 把客户端上报的符合字段,解析成多维度的值.
ParseRequestID 从ctx中获取requestID.
ParseStructClientIP ctx增加客户端IP.
ParseUserAgent parse agent.
TimestampMsToUtcIso8601 格式化时间戳.
WithClientAddr ctx增加客户端连接地址.
WithClientIP ctx增加客户端IP.
WithRequestID 增加requestID.
WithStructClientIP ctx增加客户端IP.
WithUserAgent user agent.
WrapperBool bool.
WrapperInt64 int64.
WrapperString string.
WrapperUint32 uint32.
ZapClientAddr 封装clientAddr的日志打印域.
ZapCode 封装错误码.
ZapLimitKey 封装key的打印域.
ZapLimitService 封装service的打印域.
ZapMethod 封装method的日志打印域.
ZapMsgId 封装消息ID.
ZapRequestID 封装RequestID日志打印域.
ZapUserAgent 封装userAgent的日志打印域.

# Variables

LimitServiceName 限流集群服务名.
ServerAddress 统一的服务器地址.

# Structs

CounterStat 计数器的状态.
IPAddress IP地址.
LimiterStat 限制器的状态.
RemoteCounterStat 远端的counterStat.
SlidingWindow 滑窗通用实现.
StableSlideValue 非当前时间点的静态滑窗值.
SubLabels 复合标签的子标签.
Window 单个窗口.

# Type aliases

Duration 自定义Duration.
WindowHandlerFunc 窗口淘汰函数.