Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RollingWaitGroup ¶ added in v0.6.1
type RollingWaitGroup struct {
// contains filtered or unexported fields
}
RollingWaitGroup 滑动窗口n的WaitGroup
func NewRollingWaitGroup ¶ added in v0.6.1
func NewRollingWaitGroup(n int) *RollingWaitGroup
NewRollingWaitGroup initialization RollingWaitGroup struct
func (*RollingWaitGroup) Add ¶ added in v0.6.1
func (g *RollingWaitGroup) Add(delta int)
func (*RollingWaitGroup) Done ¶ added in v0.6.1
func (g *RollingWaitGroup) Done()
func (*RollingWaitGroup) Wait ¶ added in v0.6.1
func (g *RollingWaitGroup) Wait()
Click to show internal directories.
Click to hide internal directories.