Documentation ¶
Overview ¶
Package speeds 速度计算工具包
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateLimit ¶
type RateLimit struct { MaxRate int64 // contains filtered or unexported fields }
func NewRateLimit ¶
func (*RateLimit) SetInterval ¶
type Speeds ¶
type Speeds struct {
// contains filtered or unexported fields
}
Speeds 统计速度
func (*Speeds) SetInterval ¶
SetInterval 设置刷新周期
Click to show internal directories.
Click to hide internal directories.