util

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL