package
1.6.0-beta.5
Repository: https://github.com/polarismesh/polaris-go.git
Documentation: pkg.go.dev

# Functions

GetCurrentMilliseconds 获取当前的相对毫秒值.
NewResMetricArray 创建资源统计序列.
NewSliceWindow 创建资源滑窗.

# Constants

After .
Before .
IncludeBoth .
IncludeEnd .
IncludeStart .
Inside .

# Structs

Bucket 统计单元.
GaugeOperation 封装类型,封装统计数据,以及添加统计的操作回调.
ResMetricArray 资源统计序列.
SliceWindow 滑窗.
TimeRange 时间段.

# Type aliases

AddBucketFunc 回调函数,用于将统计数据入桶.
BucketOperation 限流桶操作函数.
IntervalType timeRange的类型.